Skip to content

Commit

Permalink
fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Jul 24, 2024
1 parent 418a571 commit 2c50a56
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- "releases/v*"
- development

permissions:
checks: write
pull-requests: write

jobs:
tests:
uses: ./.github/workflows/tests.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
default: false
type: boolean

permissions:
checks: write
pull-requests: write

env:
MODULE_ID: cbpayments
SNAPSHOT: ${{ inputs.snapshot || false }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
checks: write
pull-requests: write

jobs:
##########################################################################################
# Module Tests
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
SLACK_WEBHOOK_URL:
required: false

permissions:
checks: write
pull-requests: write

jobs:
tests:
name: Tests
Expand Down

0 comments on commit 2c50a56

Please sign in to comment.