-
-
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
Support skipping Gitea Action workflows [ci skip] [no ci] ... #28020
Labels
topic/gitea-actions
related to the actions of Gitea
type/enhancement
An improvement of existing functionality
Comments
lunny
added
type/enhancement
An improvement of existing functionality
topic/gitea-actions
related to the actions of Gitea
and removed
type/bug
labels
Nov 14, 2023
I believe the check should be implemented here: gitea/modules/actions/workflows.go Line 211 in 79394b3
|
lafriks
pushed a commit
that referenced
this issue
Nov 18, 2023
Adds the possibility to skip workflow execution if the commit message contains a string like [skip ci] or similar. The default strings are the same as on GitHub, users can also set custom ones in app.ini Reference: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs Close #28020
My gosh, that was fast! Many thanks!
…On November 18, 2023 12:37:21 PM GMT+01:00, Lauris BH ***@***.***> wrote:
Closed #28020 as completed via #28075.
--
Reply to this email directly or view it on GitHub:
#28020 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
@JhonyGabriel It should already work that way. The skip ci check happens before the auto-cancellation, so running workflows are not being cancelled if there's a skip ci string in the commit |
fuxiaohei
pushed a commit
to fuxiaohei/gitea
that referenced
this issue
Jan 17, 2024
Adds the possibility to skip workflow execution if the commit message contains a string like [skip ci] or similar. The default strings are the same as on GitHub, users can also set custom ones in app.ini Reference: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs Close go-gitea#28020
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 20, 2024
Adds the possibility to skip workflow execution if the commit message contains a string like [skip ci] or similar. The default strings are the same as on GitHub, users can also set custom ones in app.ini Reference: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs Close go-gitea#28020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
topic/gitea-actions
related to the actions of Gitea
type/enhancement
An improvement of existing functionality
Description
Hello, thanks everyone for the awesome Gitea Actions feature!
GitHub Actions (and many other CI tools, too) has a feature that allows the user to skip running CI when a particular keyword is part of the commit message.
GitHub documentation: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs
It seems that this is currently not supported by Gitea (can anyone else confirm this?).
Short term, it should be added to the list of Unsupported features: https://docs.gitea.com/next/usage/actions/comparison
Medium term we should of course implement this feature.
Gitea Version
1.20.5
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Gitea Helm chart version 9.5.1: https://gitea.com/gitea/helm-chart/
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: