Skip to content

Commit

Permalink
Fix permissions issue in release-dev.yml for reusable workflow (presi…
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthick-Elumalai authored Jan 30, 2025
1 parent 2300347 commit afbdf84
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches: [main]
workflow_dispatch:

permissions:
contents: write
packages: write
checks: write
pull-requests: write

jobs:
test:
uses: ./.github/workflows/test.yml
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
- "v*"
workflow_dispatch:

permissions:
contents: write
packages: write
checks: write
pull-requests: write

jobs:
test:
uses: ./.github/workflows/test.yml
Expand Down

0 comments on commit afbdf84

Please sign in to comment.