backport: set correct permissions
This commit is contained in:
parent
b2f86e6662
commit
95fa2dda18
5
.github/workflows/backport.yml
vendored
5
.github/workflows/backport.yml
vendored
|
@ -1,10 +1,10 @@
|
||||||
name: Backport
|
name: Backport
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
jobs:
|
jobs:
|
||||||
backport:
|
backport:
|
||||||
name: Create backport PRs
|
name: Backport Pull Request
|
||||||
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true
|
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -12,6 +12,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# required to find all branches
|
# required to find all branches
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Create backport PRs
|
- name: Create backport PRs
|
||||||
# should be kept in sync with `version`
|
# should be kept in sync with `version`
|
||||||
uses: zeebe-io/backport-action@9b8949dcd4295d364b0939f07d0c7593598d26cd
|
uses: zeebe-io/backport-action@9b8949dcd4295d364b0939f07d0c7593598d26cd
|
||||||
|
|
Loading…
Reference in a new issue