mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 20:56:47 +00:00
Merge pull request #244 from actions/kaylangan-update-triager
Update issue-triager.yml
This commit is contained in:
13
.github/workflows/issue-triager.yml
vendored
13
.github/workflows/issue-triager.yml
vendored
@@ -13,11 +13,24 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- uses: damccorm/tag-ur-it@master
|
- uses: damccorm/tag-ur-it@master
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
configuration-path: "./triage-rules.yml"
|
configuration-path: "./triage-rules.yml"
|
||||||
|
|
||||||
|
- if: failure()
|
||||||
|
uses: actions/github-script@0.4.0
|
||||||
|
with:
|
||||||
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
script: |
|
||||||
|
github.issues.addLabels({
|
||||||
|
issue_number: context.issue,
|
||||||
|
owner: context.owner,
|
||||||
|
repo: context.repo,
|
||||||
|
labels: ['needs triage']
|
||||||
|
})
|
||||||
|
|
||||||
- name: Set Node.js 10.x
|
- name: Set Node.js 10.x
|
||||||
uses: actions/setup-node@master
|
uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user