0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-29 23:20:38 -05:00

chore(release): update branch and tags according to schedule

https://code.forgejo.org/forgejo/release-scheduler will
use the release info derived from release-schedule.json:

* for each release that is not EOL and for which the cut date is in
  the past, ensure that:
  * a v* branch exists or create it from next
  * a backport/label exists or create it
* for each backport/* labels, archive those that match a release that
  is EOL
This commit is contained in:
Earl Warren 2024-11-22 23:52:51 +00:00
parent 681f3a8369
commit da22ceba14
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -0,0 +1,35 @@
# Copyright The Forgejo Authors
# SPDX-License-Identifier: MIT
#
# Keep the docs repository up to date based on the Forgejo schedule release
# found at https://codeberg.org/forgejo/docs/raw/branch/next/release-schedule.json
#
# * cut documentation branches at the same time as the Forgejo main repository
# * create and archive the backport labels
# * ...
#
name: forgejo-release
on:
# schedule:
# - cron: '15 5 * * *'
workflow_dispatch:
jobs:
sync:
if: secrets.WEBSITETOKEN != ''
runs-on: docker
container:
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/forgejo/release-scheduler@v1.0.0
with:
forgejo: https://codeberg.org
repository: forgejo/docs
token: ${{ secrets.WEBSITETOKEN }}
backport-label-template: 'backport/v$version'
backport-label-pattern: "backport/v([0-9\\.]+).*"
backport-label-color: '#bfe5bf'
dry-run: ${{ vars.FORGEJO_RELEASE_DRY_RUN }}