Skip to content

Commit 9aed225

Browse files
authored
ci: centralize add-to-triage.yml (#187)
1 parent 1111e4d commit 9aed225

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/add-to-triage.yml

Lines changed: 15 additions & 14 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:
4-
issues:
5-
types:
6-
- opened
4+
issues:
5+
types:
6+
- 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)