We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48af520 commit ae948d5Copy full SHA for ae948d5
1 file changed
.github/workflows/pr-labeler.yml
@@ -1,8 +1,8 @@
1
name: Auto Label PR
2
3
on:
4
- pull_request:
5
- types: [opened, edited, closed]
+ pull_request_target:
+ types: [opened, edited, closed, reopened]
6
7
concurrency:
8
group: pr-labeler-${{ github.workflow }}-${{ github.ref }}
@@ -13,16 +13,14 @@ jobs:
13
runs-on: ubuntu-latest
14
if: |
15
(github.event.action == 'opened') ||
16
+ (github.event.action == 'reopened') ||
17
(github.event.action == 'edited' && github.event.pull_request.state == 'open') ||
18
(github.event.action == 'closed' && github.event.pull_request.merged == true)
19
permissions:
20
pull-requests: write
21
contents: read
22
23
steps:
- - name: Checkout
24
- uses: actions/checkout@v4.2.2
25
-
26
- name: Auto Label Based on Checklist
27
uses: actions/github-script@v7.0.1
28
with:
0 commit comments