Add a reusable workflow to add a PR to a project and set the status#66
Merged
Add a reusable workflow to add a PR to a project and set the status#66
Conversation
dkfellows
approved these changes
Jul 24, 2025
Collaborator
dkfellows
left a comment
There was a problem hiding this comment.
Sorry for taking so long to review this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
name: ⭐ New Reusable Workflow
about: For submitting a new Reusable.
title: '[NEW]: '
labels: enhancement ⭐
type: Feature
Is this fixing an issue? If so, please
#refits ID. This helps a lot! (Note that an issue is not required for submitting a new action.)Helps to fix UoMResearchIT/RSE-Peer-Support#53
What do you think this workflow does? We can see what it actually does by reading the code,
but it's very helpful to have a short description of what you intend it to do.
This workflow is used for adding any PRs where the reviewer is set to a Project of your chosing. This could be used to
add PRs to the project for the repo, or to a separate repo where all PRs are being tracked.
Have you considered whether there is an existing action by some other reasonably-trusted party to do this?
This is based on code provided by GitHub as demo code but not seemingly actually made into an action anywhere!
If you can,
@mention someone to review the code at least in the first instance.Do you have new bash scripts in your PR? Did you remember to mark them as executable?
Not required
Don't forget to give your action a
README.md.Not an action. There is some documentation at the top though.
Link to your action folder from the main
README.md.Not an action, but added.
Your action descriptor (
action.yml) should includeNot an action, but there are some docs in there.
Consider whether your action interacts with itself and other actions.
No interaction.
It helps a lot if you can link to a build log that shows that your action works.
As a reusable workflow that works on PRs this is tricky... but I did copy this from the SpiNNaker repo where we have started to use it, and it works there e.g.:
https://github.com/SpiNNakerManchester/sPyNNaker/actions/runs/16069343414/job/45350280226