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:
parent
681f3a8369
commit
da22ceba14
1 changed files with 35 additions and 0 deletions
35
.forgejo/workflows/forgejo-release-sync.yml
Normal file
35
.forgejo/workflows/forgejo-release-sync.yml
Normal 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 }}
|
Loading…
Reference in a new issue