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:
2
.github/allowed-actions.js
vendored
2
.github/allowed-actions.js
vendored
@@ -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",
|
||||
|
||||
17
.github/workflows/move-help-wanted-issues.yml
vendored
Normal file
17
.github/workflows/move-help-wanted-issues.yml
vendored
Normal 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 }}
|
||||
22
.github/workflows/move-ready-to-merge-issues.yaml
vendored
Normal file
22
.github/workflows/move-ready-to-merge-issues.yaml
vendored
Normal 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 }}
|
||||
Reference in New Issue
Block a user