1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-27 09:11:53 -05:00
forgejo/.forgejo
Earl Warren c565439eb9
chore(ci): trigger a mirror when a release is publish
Notify https://code.forgejo.org/forgejo/forgejo that a new release was
published by setting the trigger label to
https://code.forgejo.org/forgejo/forgejo/issues/5.

It is only ever useful when a stable release is published, the
experimental releases are not mirrored. But it is triggered in all
cases. This will waste a few mirror check daily, when experimental
releases are built. This is an improvement compared to the current
situation where mirrors are checked hourly:

* Instead of being checked 24 times per day it will be down to less
  than 5
* The mirror happens immediately after the release is published
  instead of waiting for the next run of the cron job.

If a mirror operation is in progress, as evidenced by the presence of
the trigger label on the issure, it means two releases are being
published. Wait up to 1h for the mirror to complete and remove the
trigger label.

(cherry picked from commit 7492330721)

Conflicts:
	.forgejo/workflows/publish-release.yml
  trivial context conflict
2024-11-13 18:03:45 +01:00
..
testdata/build-release fix(release): add missing ARG RELEASE_VERSION 2024-04-17 16:06:43 +00:00
workflows chore(ci): trigger a mirror when a release is publish 2024-11-13 18:03:45 +01:00
cascading-pr-end-to-end [CI] simplify end-to-end test cascading PR 2024-03-20 18:16:56 +01:00
cascading-release-end-to-end [CI] simplify running end-to-end tests while building a release 2024-03-20 20:20:42 +01:00