forgejo/docs/content/doc
Giteabot 24cf06592e
Restrict [actions].DEFAULT_ACTIONS_URL to only github or self (#25581) (#25604)
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>
2023-06-30 07:53:00 +00:00
..
administration Restrict [actions].DEFAULT_ACTIONS_URL to only github or self (#25581) (#25604) 2023-06-30 07:53:00 +00:00
contributing Change branch name from master to main in some documents' links (#25126) (#25140) 2023-06-08 09:40:05 +00:00
development Change branch name from master to main in some documents' links (#25126) (#25140) 2023-06-08 09:40:05 +00:00
help Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
installation Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
usage Add documentation about supported workflow trigger events (#25582) (#25589) 2023-06-29 14:51:46 +02:00
actions.en-us.md
administration.en-us.md
administration.fr-fr.md
administration.zh-cn.md
administration.zh-tw.md
contributing.en-us.md
contributing.fr-fr.md
contributing.zh-tw.md
development.en-us.md
development.zh-cn.md
development.zh-tw.md
help.en-us.md
help.fr-fr.md
help.zh-cn.md
help.zh-tw.md
installation.en-us.md
installation.fr-fr.md
installation.zh-cn.md
installation.zh-tw.md
packages.en-us.md
search.de-de.md
search.en-us.md
search.fr-fr.md
search.nl-nl.md
search.pt-br.md
search.zh-cn.md
search.zh-tw.md
usage.en-us.md
usage.zh-cn.md
usage.zh-tw.md