aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <93376818+sashashura@users.noreply.github.com>2022-08-28 21:59:29 +0100
committerGitHub <noreply@github.com>2022-08-28 21:59:29 +0100
commit90ba893329e4eda93682632d2e672f5016617e3e (patch)
tree913f5431d70da38c5f62ea26de70fed63bd41548
parent7918adbb628e7781cec1638c371f2009136be68a (diff)
Update backport.yml
-rw-r--r--.github/workflows/backport.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 3a2d4de0e..75be788ef 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -2,9 +2,15 @@ name: Backport
on:
pull_request_target:
types: [closed, labeled]
+permissions:
+ contents: read
jobs:
backport:
name: Backport Pull Request
+ permissions:
+ # for zeebe-io/backport-action
+ contents: write
+ pull-requests: write
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-latest
steps: