-
Notifications
You must be signed in to change notification settings - Fork 141
33 lines (32 loc) · 993 Bytes
/
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
name: Triage Issues
on:
issues:
types: [opened]
jobs:
assignRob:
name: Assign Rob
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Apply untriaged label
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['untriaged','unreleased']
})
- name: Comment On New Issues
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for reporting! @robrbecker will take a look.'
})