mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-13 13:23:44 +00:00
Refresh the latest api documents weekly (#568)
Reduce the frequency of these annoying "Update the latest api documents" PRs to once per week. Reviewed-on: https://gitea.com/gitea/docs/pulls/568 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: silverwind <[email protected]>
This commit is contained in:
1 parent
9fa74b7323
commit
8d93c189ac
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ name: update api spec files
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */12 * * *' # every 12 hours on the hour
|
- cron: '0 3 * * 1' # every Monday at 03:00
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ make update-api-docs-latest # refresh only the documents of gitea main
|
|||||||
```
|
```
|
||||||
|
|
||||||
The documents of gitea main are refreshed automatically: the `update api spec
|
The documents of gitea main are refreshed automatically: the `update api spec
|
||||||
files` workflow runs every 12 hours and opens a pull request whenever gitea main
|
files` workflow runs weekly and opens a pull request whenever gitea main
|
||||||
changed. Released versions are updated by hand when a new gitea version is
|
changed. Released versions are updated by hand when a new gitea version is
|
||||||
documented.
|
documented.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user