From c7762cd55ed9592a878f211de2e71d4d53b59cd2 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Tue, 5 Aug 2025 12:03:25 +0100 Subject: [PATCH] Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board (#18755) --- .github/workflows/triage_labelled.yml | 4 ++++ changelog.d/18755.misc | 1 + 2 files changed, 5 insertions(+) create mode 100644 changelog.d/18755.misc diff --git a/.github/workflows/triage_labelled.yml b/.github/workflows/triage_labelled.yml index e506be393..c9ed653b6 100644 --- a/.github/workflows/triage_labelled.yml +++ b/.github/workflows/triage_labelled.yml @@ -16,6 +16,10 @@ jobs: with: project-url: "https://github.com/orgs/matrix-org/projects/67" github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} + # This action will error if the issue already exists on the project. Which is + # common as `X-Needs-Info` will often be added to issues that are already in + # the triage queue. Prevent the whole job from failing in this case. + continue-on-error: true - name: Set status env: GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} diff --git a/changelog.d/18755.misc b/changelog.d/18755.misc new file mode 100644 index 000000000..bbbc753d7 --- /dev/null +++ b/changelog.d/18755.misc @@ -0,0 +1 @@ +Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board. \ No newline at end of file