1
0
mirror of synced 2026-01-08 03:01:54 -05:00

Add workflow to move issues to "help wanted" column when "help wanted" or "good first issue" labels are added (#18047)

This commit is contained in:
Sarah Edwards
2021-03-10 10:11:03 -08:00
committed by GitHub
parent 9e31597ee4
commit c5215c4e07
3 changed files with 41 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ module.exports = [
"actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e", //actions/setup-node@v2.1.4
"ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262", //ruby/setup-ruby@vv1.64.1
"actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", //actions/stale@v3.0.16
"alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9",
"andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84",
"archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94",
"ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d",
"crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688",

View File

@@ -0,0 +1,17 @@
name: Move help wanted issues
on:
issues:
types:
- labeled
jobs:
move_issues:
if: github.repository == 'github/docs' && (github.event.label.name == 'help wanted' || github.event.label.name == 'good first issue')
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9
with:
project: Docs team reviews
column: Help wanted
repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}

View File

@@ -0,0 +1,22 @@
name: Move and unlabel ready to merge issues
on:
issues:
types:
- labeled
jobs:
unmark_for_review:
if: github.repository == 'github/docs' && github.event.label.name == 'ready to merge'
runs-on: ubuntu-latest
steps:
- name: move issue
uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9
with:
project: Docs team reviews
column: Triage
repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
- name: remove label
uses: andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84
with:
remove-labels: 'waiting for review'
repo-token: ${{ secrets.GITHUB_TOKEN }}