-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1.05 KB
/
triage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Triage
on:
issues: # For auto-triage of issues.
types: [opened]
pull_request_target: # For triaging PRs into project boards.
types: [opened,converted_to_draft,ready_for_review]
jobs:
issue-triage:
name: Apply some labels on newly opened issues
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Wait for prior instances of the workflow to finish
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Action
run: |
npm install && npm run build
working-directory: ./.github/actions/triage/
- name: Run action
uses: ./.github/actions/triage/
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
triage_projects_token: ${{ secrets.TRIAGE_PROJECTS_TOKEN }}
triage_projects_board: https://github.com/users/jeherve/projects/2/