-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Upgrade to Node 20 on CI, enable actions cancellation #24524
Conversation
silverwind
commented
May 4, 2023
•
edited
Loading
edited
- Upgrade node, the snap is excluded from this because there is no Node 20 snap yet.
- Add actions build cancellation based on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks :)
If you want to get the concurrency changes in here too, otherwise I can get another PR for them.
Added the concurrency group to all |
Cancelling seems to work fine, but the "X" icon surprises me a bit as I would have expected an icon different from a failure. Also I wonder why giteabot is still pending on the cancelled build. |
Maybe the icon would go to a grey stop sign if all steps in the build are cancelled, but I don't know how to cancel giteabot 😆. |
Giteabot won't go grey, it'll stay "pending" until the PR receives all approvals. |
I'm not sure if you are seeing this too, but in the required checks area below there are duplicated checks. Perhaps the concurrency stuff is indeed best saved for another PR so as to not hold this one up. Sorry for the extra work you have done. |
Hmm I don't see duplicates but there are "6 successful, 8 expected" and the expected ones do not run, strange. |
Ah yup, I'm not seeing any dupes anymore. What you have done has worked :) |
There is one more variation of this cancelling which can be configured so that only pull requests cancel, release builds and main branch builds won't cancel. I'll copy the syntax that node uses. |
Done, this new cancellation will only cancel on pull requests. I see the workflows currently only run |
* upstream/main: Harmonize title formatting in `docs/content/doc/development/api-usage.en-us.md` (go-gitea#24529) automate locking closed threads (go-gitea#24525) [skip ci] Updated translations via Crowdin Display warning when user try to rename default branch (go-gitea#24512) Upgrade to Node 20 on CI, enable actions cancellation (go-gitea#24524) Fix incorrectly quoted translation (go-gitea#24514) Fix color for transfer related buttons when having no permission to act (go-gitea#24510) Fix some mistakes when using `ignSignIn` (go-gitea#24415) Remove unused zapx replace statement on go.mod (go-gitea#24515) Don't display creating page button in a mirror wiki repository (go-gitea#24395) Improve template system and panic recovery (go-gitea#24461) Faster git.GetDivergingCommits (go-gitea#24482) Merge setting.InitXXX into one function with options (go-gitea#24389)
Followup to #24524. Now there is a [node 20 snap](https://snapcraft.io/node), so let's upgrade to it.