diff --git a/.github/workflows/backport-bot.yml b/.github/workflows/backport-bot.yml index dc8fd760d66c..e97756ddb1da 100644 --- a/.github/workflows/backport-bot.yml +++ b/.github/workflows/backport-bot.yml @@ -6,8 +6,13 @@ on: push: branches: - '*.x' +permissions: + contents: read jobs: build: + permissions: + contents: read # to fetch code (actions/checkout) + issues: write # to create and close issues runs-on: ubuntu-latest steps: - uses: actions/checkout@v3