Skip to content

Commit c7762cd

Browse files
Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board (#18755)
1 parent 357b749 commit c7762cd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/triage_labelled.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
with:
1717
project-url: "https://github.com/orgs/matrix-org/projects/67"
1818
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
19+
# This action will error if the issue already exists on the project. Which is
20+
# common as `X-Needs-Info` will often be added to issues that are already in
21+
# the triage queue. Prevent the whole job from failing in this case.
22+
continue-on-error: true
1923
- name: Set status
2024
env:
2125
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}

changelog.d/18755.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board.

0 commit comments

Comments
 (0)