You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/usage/actions/comparison.en-us.md
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -91,12 +91,6 @@ As a workaround, you can use [go-hashfiles](https://gitea.com/actions/go-hashfil
91
91
92
92
## Missing features
93
93
94
-
### Variables
95
-
96
-
See [Variables](https://docs.github.com/en/actions/learn-github-actions/variables).
97
-
98
-
It's under development.
99
-
100
94
### Problem Matchers
101
95
102
96
Problem Matchers are a way to scan the output of actions for a specified regex pattern and surface that information prominently in the UI.
@@ -120,15 +114,17 @@ Pre and Post steps don't have their own section in the job log user interface.
120
114
121
115
### Downloading actions
122
116
123
-
Gitea Actions doesn't download actions from GitHub by default.
124
-
"By default" means that you don't specify the host in the `uses` field, like `uses: actions/checkout@v3`.
125
-
As a contrast, `uses: https://github.com/actions/checkout@v3` has specified host.
117
+
Previously (Pre 1.21.0), `[actions].DEFAULT_ACTIONS_URL` defaulted to `https://gitea.com`.
118
+
We have since restricted this option to only allow two values (`github` and `self`).
119
+
When set to `github`, the new default, Gitea will download non-fully-qualified actions from <https://github.com>.
120
+
For example, if you use `uses: actions/checkout@v3`, it will download the checkout repository from <https://github.com/actions/checkout.git>.
121
+
122
+
If you want to download an action from another git hoster, you can use an absolute URL, e.g. `uses: https://gitea.com/actions/checkout@v3`.
126
123
127
-
The missing host will be filled with `https://gitea.com` if you don't configure it.
128
-
That means `uses: actions/checkout@v3` will download the action from [gitea.com/actions/checkout](https://gitea.com/actions/checkout), instead of [github.com/actions/checkout](https://github.com/actions/checkout).
124
+
If your Gitea instance is in an intranet or a restricted area, you can set the URL to `self` to only download actions from your own instance by default.
125
+
Of course, you can still use absolute URLs in workflows.
129
126
130
-
As mentioned, it's configurable.
131
-
If you want your runners to download actions from GitHub or your own Gitea instance by default, you can configure it by setting `[actions].DEFAULT_ACTIONS_URL`. See [Configuration Cheat Sheet](administration/config-cheat-sheet.md#actions-actions).
127
+
More details about the `[actions].DEFAULT_ACTIONS_URL` configuration can be found in the [Configuration Cheat Sheet](administration/config-cheat-sheet.md#actions-actions)。
0 commit comments