Skip to content

Commit

Permalink
perms
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Aug 5, 2024
1 parent f514e32 commit 330565d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/port-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:

jobs:
port-issue:
permissions:
issues: write
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request && (contains(github.event.comment.body, '/backport') || contains(github.event.comment.body, '/forwardport')) }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/port-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:

jobs:
port-pr:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && (startsWith(github.event.comment.body, '/backport') || startsWith(github.event.comment.body, '/forwardport')) }}
steps:
Expand Down

0 comments on commit 330565d

Please sign in to comment.