forked from MobilityData/gtfs-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 919 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
name: Bug triage
on:
issues:
types:
- labeled
jobs:
triage:
if: github.event.label.name == 'bug'
runs-on: ubuntu-latest
steps:
- name: Create card
uses: alex-page/[email protected]
with:
project: Bug triage
column: Requires investigation
repo-token: ${{ secrets.TRIAGE_TOKEN }}
- name: Comment issue
uses: actions/github-script@v6
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: "Thank you for your reporting a bug. The issue has been placed in [triage](https://github.com/MobilityData/gtfs-validator/projects/1), the MobilityData team will follow-up on it."
})