Skip to content

Commit ae948d5

Browse files
committed
ci: remove unnecessary checkout from pr-labeler
1 parent 48af520 commit ae948d5

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/pr-labeler.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Auto Label PR
22

33
on:
4-
pull_request:
5-
types: [opened, edited, closed]
4+
pull_request_target:
5+
types: [opened, edited, closed, reopened]
66

77
concurrency:
88
group: pr-labeler-${{ github.workflow }}-${{ github.ref }}
@@ -13,16 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: |
1515
(github.event.action == 'opened') ||
16+
(github.event.action == 'reopened') ||
1617
(github.event.action == 'edited' && github.event.pull_request.state == 'open') ||
1718
(github.event.action == 'closed' && github.event.pull_request.merged == true)
1819
permissions:
1920
pull-requests: write
2021
contents: read
2122

2223
steps:
23-
- name: Checkout
24-
uses: actions/[email protected]
25-
2624
- name: Auto Label Based on Checklist
2725
uses: actions/[email protected]
2826
with:

0 commit comments

Comments
 (0)