-
-
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
Actions are no longer experimental, so enable them by default #27054
Actions are no longer experimental, so enable them by default #27054
Conversation
I'm not sure if this should be enabled by default. You still need a runner, so this will be not working by default. |
Yes, but this change will reduce people asking why they cannot get the actions feature. |
Should we add it as a default unit to repo_units too? |
I'm also not convinced it should be enabled by default, considering it takes additional setup to get it working.
I think it may instead increase the amount of "why aren't actions working" questions if they are enabled but have no runners by default. |
In that case we could add a warning to repo owners with actions pending that they need to add runners? |
I think that may be a worthwhile change in itself, but it seems like of the two main install types:
It just seems like flipping the toggle from As another alternative, a db-setting may work fine here as well, so it becomes easier to just go flip the switch when the admin is ready. |
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.
Please also update the config cheat sheet and the example config.
And update app.example. ini as usual. I guess I don't mind it enabled by default if it does nothing. What we should eventually do is enable it by default in repos. Of course it should only run if a workflow file is detected and at least 1 (recently active) worker is registered. |
I think that may have a bigger impact for users which can be leave to other PRs. This PR will not affect anything, the actions tab will not be enabled except they enable it in repository setting. |
config cheat sheet and the example config updated
This global configuration will not enable repository actions by default. In fact, after this PR, every repository still needs to enable actions in the setting. |
* giteaoffical/main: (23 commits) Search branches (go-gitea#27055) Fix wrong migration for email address (go-gitea#27106) [skip ci] Updated translations via Crowdin Support `.git-blame-ignore-revs` file (go-gitea#26395) Add `RemoteAddress` to mirrors (go-gitea#26952) Upgrading the actions/checkout@4 (go-gitea#27096) Next round of `db.DefaultContext` refactor (go-gitea#27089) Ui correction in mobile view nav bar left aligned items. (go-gitea#27046) Add missing deps to files-changed (go-gitea#27100) Use db.WithTx for AddTeamMember to avoid ctx abuse (go-gitea#27095) Drop Node.js 16 and update js dependencies (go-gitea#27094) Fix NPE when editing OAuth2 applications (go-gitea#27078) Use `print` instead of `printf` (go-gitea#27093) Add tests for db indexer in indexer_test.go (go-gitea#27087) [skip ci] Updated translations via Crowdin Allow empty Conan files (go-gitea#27092) Actions are no longer experimental, so enable them by default (go-gitea#27054) Update brew installation documentation since gitea moved to brew core package (go-gitea#27070) More refactoring of `db.DefaultContext` (go-gitea#27083) [skip ci] Updated translations via Crowdin ...
* origin/main: (53 commits) Search branches (go-gitea#27055) Fix wrong migration for email address (go-gitea#27106) [skip ci] Updated translations via Crowdin Support `.git-blame-ignore-revs` file (go-gitea#26395) Add `RemoteAddress` to mirrors (go-gitea#26952) Upgrading the actions/checkout@4 (go-gitea#27096) Next round of `db.DefaultContext` refactor (go-gitea#27089) Ui correction in mobile view nav bar left aligned items. (go-gitea#27046) Add missing deps to files-changed (go-gitea#27100) Use db.WithTx for AddTeamMember to avoid ctx abuse (go-gitea#27095) Drop Node.js 16 and update js dependencies (go-gitea#27094) Fix NPE when editing OAuth2 applications (go-gitea#27078) Use `print` instead of `printf` (go-gitea#27093) Add tests for db indexer in indexer_test.go (go-gitea#27087) [skip ci] Updated translations via Crowdin Allow empty Conan files (go-gitea#27092) Actions are no longer experimental, so enable them by default (go-gitea#27054) Update brew installation documentation since gitea moved to brew core package (go-gitea#27070) More refactoring of `db.DefaultContext` (go-gitea#27083) [skip ci] Updated translations via Crowdin ...
…rt document (go-gitea#28160) Since go-gitea#27054, Actions are enabled by default. so we should also edit the document. 😃 ps: I think this should be backport to 1.21.0.
This PR makes the actions enabled by default, so people will find it easier to enable actions in repository setting.