Skip to content

Commit ec40c39

Browse files
authored
ci: add stale and fix add-to-triage (#33)
* ci: add `stale` and fix `add-to-triage` * Update add-to-triage.yml * Update stale.yml * Update add-to-triage.yml
1 parent fc337fd commit ec40c39

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- reopened
88
- transferred
99

10-
pull_request:
10+
pull_request_target:
1111
types:
1212
- opened
1313
- reopened
@@ -16,4 +16,4 @@ jobs:
1616
add-to-triage:
1717
uses: eslint/workflows/.github/workflows/add-to-triage.yml@main
1818
secrets:
19-
PROJECT_BOT_TOKEN: ${{ secrets.PROJECT_BOT_TOKEN }}
19+
project_bot_token: ${{ secrets.PROJECT_BOT_TOKEN }}

.github/workflows/stale.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: stale
2+
3+
on:
4+
schedule:
5+
- cron: "31 22 * * *" # Runs every day at 10:31 PM UTC
6+
7+
jobs:
8+
stale:
9+
uses: eslint/workflows/.github/workflows/stale.yml@main
10+
secrets:
11+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)