mirror of https://github.com/rancher/shell.git
Add proper write perms
This commit is contained in:
parent
281bc39fca
commit
a14a4e2ff1
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue