mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-11 20:44:55 +00:00
24cf06592e
Backport #25581 by @wolfogre Resolve #24789 ## ⚠️ BREAKING ⚠️ Before this, `DEFAULT_ACTIONS_URL` cound be set to any custom URLs like `https://gitea.com` or `http://your-git-server,https://gitea.com`, and the default value was `https://gitea.com`. But now, `DEFAULT_ACTIONS_URL` supports only `github`(`https://github.com`) or `self`(the root url of current Gitea instance), and the default value is `github`. If it has configured with a URL, an error log will be displayed and it will fallback to `github`. Actually, what we really want to do is always make it `https://github.com`, however, this may not be acceptable for some instances of internal use, so there's extra support for `self`, but no more, even `https://gitea.com`. Please note that `uses: https://xxx/yyy/zzz` always works and it does exactly what it is supposed to do. Although it's breaking, I belive it should be backported to `v1.20` due to some security issues. Follow-up on the runner side: - https://gitea.com/gitea/act_runner/pulls/262 - https://gitea.com/gitea/act/pulls/70 Co-authored-by: Jason Song <i@wolfogre.com> |
||
---|---|---|
.. | ||
_index.en-us.md | ||
_index.zh-cn.md | ||
_index.zh-tw.md | ||
adding-legal-pages.en-us.md | ||
adding-legal-pages.zh-cn.md | ||
backup-and-restore.en-us.md | ||
backup-and-restore.zh-cn.md | ||
backup-and-restore.zh-tw.md | ||
cmd-embedded.en-us.md | ||
cmd-embedded.zh-cn.md | ||
command-line.en-us.md | ||
command-line.zh-cn.md | ||
config-cheat-sheet.en-us.md | ||
config-cheat-sheet.zh-cn.md | ||
customizing-gitea.en-us.md | ||
customizing-gitea.zh-cn.md | ||
email-setup.en-us.md | ||
email-setup.zh-cn.md | ||
environment-variables.en-us.md | ||
environment-variables.zh-cn.md | ||
external-renderers.en-us.md | ||
external-renderers.zh-cn.md | ||
fail2ban-setup.en-us.md | ||
fail2ban-setup.zh-cn.md | ||
git-lfs-support.en-us.md | ||
git-lfs-support.zh-cn.md | ||
https-support.en-us.md | ||
https-support.zh-cn.md | ||
logging-config.en-us.md | ||
logging-config.zh-cn.md | ||
mail-templates.en-us.md | ||
mail-templates.zh-cn.md | ||
repo-indexer.en-us.md | ||
repo-indexer.zh-cn.md | ||
reverse-proxies.en-us.md | ||
reverse-proxies.zh-cn.md | ||
search-engines-indexation.en-us.md | ||
search-engines-indexation.zh-cn.md | ||
signing.en-us.md | ||
signing.zh-cn.md |