mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-29 02:19:29 +01:00
Add issue automation to tidy Help Wanted
All "good first issue" and "Hacktoberfest" qualify as "Help Wanted" so the label should be added automatically
This commit is contained in:
parent
b6746653f1
commit
b0a15cd10b
17
.github/workflows/triage-labelled.yml
vendored
17
.github/workflows/triage-labelled.yml
vendored
@ -29,6 +29,23 @@ jobs:
|
|||||||
labels: ['Z-Labs']
|
labels: ['Z-Labs']
|
||||||
})
|
})
|
||||||
|
|
||||||
|
apply_Help-Wanted_label:
|
||||||
|
name: Add "Help Wanted" label to all "good first issue" and Hacktoberfest
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: >
|
||||||
|
contains(github.event.issue.labels.*.name, 'good first issue') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'Hacktoberfest')
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v5
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.issues.addLabels({
|
||||||
|
issue_number: context.issue.number,
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
labels: ['Help Wanted']
|
||||||
|
})
|
||||||
|
|
||||||
move_needs_info_issues:
|
move_needs_info_issues:
|
||||||
name: X-Needs-Info issues to Need info column on triage board
|
name: X-Needs-Info issues to Need info column on triage board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user