Skip to content

Commit 56e4b78

Browse files
authored
ci: centralize add-to-triage.yml (#497)
1 parent 33cd872 commit 56e4b78

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
name: Add to Triage
1+
name: add-to-triage
22

33
on:
44
issues:
55
types:
66
- opened
7+
- reopened
8+
- transferred
9+
10+
pull_request:
11+
types:
12+
- opened
13+
- reopened
714

815
jobs:
9-
add-to-project:
10-
name: Add issue to project
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/[email protected]
14-
with:
15-
project-url: https://github.com/orgs/eslint/projects/3
16-
github-token: ${{ secrets.PROJECT_BOT_TOKEN }}
17-
labeled: "triage:no"
18-
label-operator: NOT
16+
add-to-triage:
17+
uses: eslint/workflows/.github/workflows/add-to-triage.yml@main
18+
secrets:
19+
PROJECT_BOT_TOKEN: ${{ secrets.PROJECT_BOT_TOKEN }}

0 commit comments

Comments
 (0)