Skip to content

Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board#18755

Merged
anoadragon453 merged 2 commits intodevelopfrom
anoa/fix_failing_labelled_issues_workflow
Aug 5, 2025
Merged

Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board#18755
anoadragon453 merged 2 commits intodevelopfrom
anoa/fix_failing_labelled_issues_workflow

Conversation

@anoadragon453
Copy link
Copy Markdown
Member

@anoadragon453 anoadragon453 commented Jul 31, 2025

The "Move labelled issues to correct projects" exists to move issues to the "Needs info" column on our internal triage queue GitHub project board when the X-Needs-Info label is added to it.

The workflow will currently fail if the issue is already on the project board (which is most of the time).

This change will prevent the workflow from failing in this case - instead carrying on even if the "actions/add-to-project" step failed.

Ideally there would be a "no-op option" on the "add-to-project" action so we didn't have to ignore any other failures as well, but alas, there is not. Still, if the issue failed to be added to the project, then the subsequent step will fail anyways (as the issue is not on the project).

Pull Request Checklist

  • Pull request is based on the develop branch
  • Pull request includes a changelog file. The entry should:
    • Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from EventStore to EventWorkerStore.".
    • Use markdown where necessary, mostly for code blocks.
    • End with either a period (.) or an exclamation mark (!).
    • Start with a capital letter.
    • Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry.
  • Code style is correct (run the linters)

@anoadragon453 anoadragon453 marked this pull request as ready for review July 31, 2025 11:18
@anoadragon453 anoadragon453 requested a review from a team as a code owner July 31, 2025 11:18
@anoadragon453 anoadragon453 changed the title Continue "move labelled issues" workflow if issue already added Prevent "Move labelled issues to correct projects" GitHub Actions workflow from failing when an issue is already on the project board Jul 31, 2025
@anoadragon453 anoadragon453 merged commit c7762cd into develop Aug 5, 2025
36 checks passed
@anoadragon453 anoadragon453 deleted the anoa/fix_failing_labelled_issues_workflow branch August 5, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants