diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a4ed296..eb04c42 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,6 +12,10 @@ on: - "releases/v*" - development +permissions: + checks: write + pull-requests: write + jobs: tests: uses: ./.github/workflows/tests.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 338c4e8..04b8bec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,10 @@ on: default: false type: boolean +permissions: + checks: write + pull-requests: write + env: MODULE_ID: cbpayments SNAPSHOT: ${{ inputs.snapshot || false }} diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 98cef2e..03db900 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -10,6 +10,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + checks: write + pull-requests: write + jobs: ########################################################################################## # Module Tests diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a043f54..26a0505 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,10 +9,6 @@ on: SLACK_WEBHOOK_URL: required: false -permissions: - checks: write - pull-requests: write - jobs: tests: name: Tests