diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 9aa23de0a6..576ff55918 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -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", diff --git a/.github/workflows/move-help-wanted-issues.yml b/.github/workflows/move-help-wanted-issues.yml new file mode 100644 index 0000000000..f6984f1d5a --- /dev/null +++ b/.github/workflows/move-help-wanted-issues.yml @@ -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 }} diff --git a/.github/workflows/move-ready-to-merge-issues.yaml b/.github/workflows/move-ready-to-merge-issues.yaml new file mode 100644 index 0000000000..e3a3605ba7 --- /dev/null +++ b/.github/workflows/move-ready-to-merge-issues.yaml @@ -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 }}