From 744b399dcc867cd9cda2f34aa24889b19e4b880d Mon Sep 17 00:00:00 2001 From: Nico Korthout Date: Fri, 24 Dec 2021 12:44:41 +0100 Subject: [PATCH] ci(.github): add permissions to backport workflow --- .github/workflows/backport.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 611151b..aaba583 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -8,6 +8,9 @@ jobs: build: name: Create backport PRs runs-on: ubuntu-latest + permissions: + contents: write # so it can comment + pull-requests: write # so it can create pull requests # Only run when pull request is merged # or when a comment containing `/backport` is created if: >