Skip to content

Commit

Permalink
Merge pull request #41096 from m-kuhn/backport_fix
Browse files Browse the repository at this point in the history
Switch to pull_request_target event for backport bot
  • Loading branch information
m-kuhn committed Jan 20, 2021
2 parents 4f5a5ac + 52558f4 commit 99b77df
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/backport.yml
@@ -1,6 +1,6 @@
name: Backport
on:
pull_request:
pull_request_target:
types:
- closed
- labeled
Expand All @@ -13,9 +13,6 @@ jobs:
- name: Backport Bot
id: backport
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( join( github.event.pull_request.labels.*.name ), 'backport') ) || contains( github.event.label.name, 'backport' ) )
uses: Gaurav0/backport@v1.0.26
uses: m-kuhn/backport@v1.1.1
with:
bot_username: qgis-bot
bot_token: ddbdec32940df79f1adf2369b4b10f10b5a66f65
# bot_token_key: a1b2c3d47311f8e29e204f85a81b4df4a44e252c
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 99b77df

Please sign in to comment.