From 8d56ace07ce39ffd43298d79053b9f7c5ad0aa5b Mon Sep 17 00:00:00 2001 From: lgaliana Date: Tue, 3 Dec 2024 14:42:55 +0000 Subject: [PATCH] permissions --- .github/workflows/prod.yml | 2 ++ resources/workflows/python.yaml | 3 +++ resources/workflows/r.yaml | 2 ++ 3 files changed, 7 insertions(+) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index e11bbfb..f4719c4 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -9,6 +9,8 @@ on: jobs: publish: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/resources/workflows/python.yaml b/resources/workflows/python.yaml index ac933a8..3e776c6 100644 --- a/resources/workflows/python.yaml +++ b/resources/workflows/python.yaml @@ -6,9 +6,12 @@ on: - main workflow_dispatch: + jobs: publish: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/resources/workflows/r.yaml b/resources/workflows/r.yaml index 1f8b03f..9e9203e 100644 --- a/resources/workflows/r.yaml +++ b/resources/workflows/r.yaml @@ -9,6 +9,8 @@ on: jobs: publish: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4