diff options
author | James McCoy <jamessan@jamessan.com> | 2022-01-17 13:11:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 13:11:46 -0500 |
commit | 8f54b88a5ef7a151be98123fa717ce4b8722373c (patch) | |
tree | bd28f4f2abe6acdae39abd9f3bc4cc9eb3ca47cb | |
parent | 50eabe1c478048f810edcd1577e34c407bed4bfa (diff) | |
parent | 6c1d6f3dd6bb47d92be51c8eb9771ad44c4d1121 (diff) | |
download | rneovim-8f54b88a5ef7a151be98123fa717ce4b8722373c.tar.gz rneovim-8f54b88a5ef7a151be98123fa717ce4b8722373c.tar.bz2 rneovim-8f54b88a5ef7a151be98123fa717ce4b8722373c.zip |
Merge pull request #17122 from dundargoc/ci/remove-non-working-job
ci: remove non-working add-reviewer job
-rw-r--r-- | .github/workflows/labeler.yml | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index a2e0566eb1..3de0c453a5 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -32,75 +32,3 @@ jobs: - name: "Extract commit scope and add as label" continue-on-error: true run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')" - - add-reviewer: - # This job currently doesn't work due to a bug in GitHub CLI. - # - # Issue: https://github.com/cli/cli/issues/4844 - # PR that will fix it: https://github.com/cli/cli/pull/4876 - # - # The current workaround is to temporarily add "continue-on-error" flag so - # the whole workflow doesn't get flagged as a failure. - runs-on: ubuntu-latest - needs: ["triage", "type-scope"] - permissions: - contents: write - pull-requests: write - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} - PR_NUMBER: ${{ github.event.pull_request.number }} - continue-on-error: true - steps: - - name: Get labels - id: labels - run: echo "::set-output name=labels::$(gh pr view $PR_NUMBER --json labels --jq '.labels.[].name' | tr '\n' '%')" - - # The % at the end of the label is a hack to avoid selecting a label that - # is substring of another label. So if there is a label "cinema" then we - # don't accidentally want to interpret that as the label "ci" - - - if: contains(steps.labels.outputs.labels, 'api%') - run: gh pr edit $PR_NUMBER --add-reviewer bfredl,gpanders,muniter - - - if: contains(steps.labels.outputs.labels, 'ci%') - run: gh pr edit $PR_NUMBER --add-reviewer jamessan - - - if: contains(steps.labels.outputs.labels, 'diagnostic%') - run: gh pr edit $PR_NUMBER --add-reviewer gpanders - - - if: contains(steps.labels.outputs.labels, 'distribution%') - run: gh pr edit $PR_NUMBER --add-reviewer jamessan - - - if: contains(steps.labels.outputs.labels, 'documentation%') - run: gh pr edit $PR_NUMBER --add-reviewer clason - - - if: contains(steps.labels.outputs.labels, 'extmarks%') - run: gh pr edit $PR_NUMBER --add-reviewer bfredl - - - if: contains(steps.labels.outputs.labels, 'filetype%') - run: gh pr edit $PR_NUMBER --add-reviewer clason,gpanders - - - if: contains(steps.labels.outputs.labels, 'gui%') - run: gh pr edit $PR_NUMBER --add-reviewer glacambre,smolck - - - if: contains(steps.labels.outputs.labels, 'platform:windows%') - run: gh pr edit $PR_NUMBER --add-reviewer erw7 - - - if: contains(steps.labels.outputs.labels, 'lsp%') - run: gh pr edit $PR_NUMBER --add-reviewer mfussenegger,mjlbach - - - if: contains(steps.labels.outputs.labels, 'terminal%') - run: gh pr edit $PR_NUMBER --add-reviewer erw7 - - - if: contains(steps.labels.outputs.labels, 'treesitter%') - run: gh pr edit $PR_NUMBER --add-reviewer bfredl,vigoux - - - if: contains(steps.labels.outputs.labels, 'typo%') - run: gh pr edit $PR_NUMBER --add-reviewer dundargoc - - - if: contains(steps.labels.outputs.labels, 'ui%') - run: gh pr edit $PR_NUMBER --add-reviewer bfredl - - - if: contains(steps.labels.outputs.labels, 'vim-patch%') - run: gh pr edit $PR_NUMBER --add-reviewer janlazo,seandewar |