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
* giteaofficial/main: (23 commits)
Fix wrong test usage of `AppSubURL` (go-gitea#29459)
Improve contrast on blame timestamp, fix double border (go-gitea#29482)
Fix/Improve `processWindowErrorEvent` (go-gitea#29407)
Apply compact padding to small buttons with svg icons (go-gitea#29471)
Fix counter display number incorrectly displayed on the page (go-gitea#29448)
Fix incorrect user location link on profile page (go-gitea#29474)
Fix workflow trigger event bugs (go-gitea#29467)
Fix URL calculation in clone input box (go-gitea#29470)
Remove jQuery from the "find file" page (go-gitea#29456)
Move generate from module to service (go-gitea#29465)
The job should always run when `if` is `always()` (go-gitea#29464)
Recolor dark theme to blue shade (go-gitea#29283)
Let ctx.FormOptionalBool() return optional.Option[bool] (go-gitea#29461)
Implement actions badge svgs (go-gitea#28102)
Fix missed return (go-gitea#29450)
Use tailwind instead of `gt-[wh]-` helper classes (go-gitea#29423)
Lock issues and pulls faster (go-gitea#29436)
Allow to change primary email before account activation (go-gitea#29412)
Update docs about `DEFAULT_ACTIONS_URL` (go-gitea#29442)
Only use supported sort order for "explore/users" page (go-gitea#29430)
...
Copy file name to clipboardexpand all lines: docs/content/usage/actions/faq.en-us.md
+7-8
Original file line number
Diff line number
Diff line change
@@ -45,25 +45,24 @@ It is technically possible to implement, but we need to discuss whether it is ne
45
45
46
46
## Where will the runner download scripts when using actions such as `actions/checkout@v4`?
47
47
48
-
You may be aware that there are tens of thousands of [marketplace actions](https://github.com/marketplace?type=actions) in GitHub.
49
-
However, when you write `uses: actions/checkout@v4`, it actually downloads the scripts from [gitea.com/actions/checkout](http://gitea.com/actions/checkout) by default (not GitHub).
50
-
This is a mirror of [github.com/actions/checkout](http://github.com/actions/checkout), but it's impossible to mirror all of them.
51
-
That's why you may encounter failures when trying to use some actions that haven't been mirrored.
48
+
There are tens of thousands of [actions scripts](https://github.com/marketplace?type=actions) in GitHub, and when you write `uses: actions/checkout@v4`, it downloads the scripts from [github.com/actions/checkout](http://github.com/actions/checkout) by default.
49
+
But what if you want to use actions from other places such as gitea.com instead of GitHub?
52
50
53
51
The good news is that you can specify the URL prefix to use actions from anywhere.
54
52
This is an extra syntax in Gitea Actions.
55
53
For example:
56
54
57
-
-`uses: https://github.com/xxx/xxx@xxx`
58
55
-`uses: https://gitea.com/xxx/xxx@xxx`
56
+
-`uses: https://github.com/xxx/xxx@xxx`
59
57
-`uses: http://your_gitea_instance.com/xxx@xxx`
60
58
61
59
Be careful, the `https://` or `http://` prefix is necessary!
62
60
63
-
Alternatively, 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`.
64
-
See [Configuration Cheat Sheet](administration/config-cheat-sheet.md#actions-actions).
61
+
This is one of the differences from GitHub Actions which supports actions scripts only from GitHub.
62
+
But it should allow users much more flexibility in how they run Actions.
65
63
66
-
This is one of the differences from GitHub Actions, but it should allow users much more flexibility in how they run Actions.
64
+
Alternatively, if you want your runners to download actions from your own Gitea instance by default, you can configure it by setting `[actions].DEFAULT_ACTIONS_URL`.
65
+
See [Configuration Cheat Sheet](administration/config-cheat-sheet.md#actions-actions).
Gitea has its builtin Badge system which allows you to display the status of your repository in other places. You can use the following badges:
21
+
22
+
## Workflow Badge
23
+
24
+
The Gitea Actions workflow badge is a badge that shows the status of the latest workflow run.
25
+
It is designed to be compatible with [GitHub Actions workflow badge](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge).
0 commit comments