Merge pull request #16181 from jamessan/backport-perms

ci(backport): add write permissions for contents/pull_requests
This commit is contained in:
James McCoy
2021-10-30 16:35:47 -04:00
committed by GitHub

View File

@@ -4,6 +4,9 @@ on:
types: [closed, labeled]
jobs:
backport:
permissions:
contents: write
pull-requests: write
name: Backport Pull Request
if: >
github.repository_owner == 'neovim' && (
@@ -22,7 +25,7 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Create backport PRs
uses: zeebe-io/backport-action@v0.0.6
uses: zeebe-io/backport-action@v0.0.7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}