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
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,18 @@ Pre and Post steps don't have their own section in the job log user interface.
112
112
113
113
## Different behavior
114
114
115
+
### Downloading actions
116
+
117
+
When `[actions].DEFAULT_ACTIONS_URL` keep default value `github`, Gitea will download relative paths actions from https://github.com, that means
118
+
if you use `uses: actions/checkout@v3`, it will download the checkout repository from https://github.com/actions/checkout.git .
119
+
If you want to download an actions from another git service sites, you can just use an absolute URL `uses: https://gitea.com/actions/checkout@v3`.
120
+
121
+
If your Gitea instance is in an intranet without internet connection or a restricted area. You can use absolute URL in workflows.
122
+
You can also set `[actions].DEFAULT_ACTIONS_URL = self`, then all relative actions will not be downloaded from github like before,
123
+
but will be download from your Gitea instance. That means if your workflow have the syntax `uses: actions/checkout@v3`, it will be downloaded from `[server].ROOT_URL`/actions/checkout.git .
124
+
125
+
More detail configurations about `[actions].DEFAULT_ACTIONS_URL` could be found at [Configuration Cheat Sheet](administration/config-cheat-sheet.md#actions-actions)。
126
+
115
127
### Context availability
116
128
117
129
Context availability is not checked, so you can use the env context on more places.
0 commit comments