mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: add a continue-on-error to the add-reviewer jobs
This is to circumvent a limitation in GitHub Actions that requires special organization access in order to add any reviewers.
This commit is contained in:
parent
6ecaba510f
commit
f29a4ec553
9
.github/workflows/labeler.yml
vendored
9
.github/workflows/labeler.yml
vendored
@ -34,6 +34,13 @@ jobs:
|
|||||||
run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')"
|
run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')"
|
||||||
|
|
||||||
add-reviewer:
|
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
|
runs-on: ubuntu-latest
|
||||||
needs: ["triage", "type-scope"]
|
needs: ["triage", "type-scope"]
|
||||||
permissions:
|
permissions:
|
||||||
@ -43,7 +50,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GH_REPO: ${{ github.repository }}
|
GH_REPO: ${{ github.repository }}
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- name: Get labels
|
- name: Get labels
|
||||||
id: labels
|
id: labels
|
||||||
|
Loading…
Reference in New Issue
Block a user