-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix project-autoadd github action #5080
Conversation
- originally used action did only support classic projects, not the new (beta) projects
- actions require org r/w access to add elements to org-level boards and edit their fields
While adding items to boards does seem to work without problems now, moving an item to a specific column does not. I see two options on how to continue with this:
|
I decided to go with option (1) as it really doesn't matter too much whether the cards are in a "No Status" or a "Backlog" named column... Having them outside of the backlog list even gives us the opportunity to decide whether or not to add it to the backlog in the first place. We may also simply want to remove it from the board because it's not actionable in the near future. |
Contains
A fix for the
project-autoadd
github action which failed because the utilized underlying action only supports classic projects but we're using v2 (beta) projects. The replacement action not only works but is a base action provided by GitHub which hopefully means better maintenance and higher security awareness.The action requires a token with control privileges for projects. I added such a token to the organization secrets and wrote a maintainer guide on what to do in case the action starts failing because this token expired.
How to test
Add a new label to the PR (ideally remove it again afterwards so we don't clutter the PR with arbitrary / not applicable labels).
The action should run automatically in the PR checks. If not, a new run should be accessible at https://github.com/MovingBlocks/Terasology/actions
Outstanding before merging