mirror of
https://github.com/chenasraf/flathub.git
synced 2026-05-17 17:38:10 +00:00
ci: Use pull_request_target event
This commit is contained in:
6
.github/workflows/close-master-prs.yml
vendored
6
.github/workflows/close-master-prs.yml
vendored
@@ -1,10 +1,12 @@
|
||||
name: Close PRs to master
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [opened, reopened, synchronize, edited]
|
||||
branches:
|
||||
- master
|
||||
branches-ignore:
|
||||
- new-pr
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -24,7 +26,7 @@ jobs:
|
||||
fi
|
||||
fi
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.FLATHUBBOT_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPO: flathub/flathub
|
||||
COMMENT: >
|
||||
This PR is automatically closed because application submission
|
||||
|
||||
Reference in New Issue
Block a user