1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

[CI] cascade end-to-end must not try to merge feature branches

they no longer exist as of the hard fork
This commit is contained in:
Earl Warren 2024-02-10 10:45:10 +01:00
parent cf1c57b681
commit a4ca473d33
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -4,9 +4,6 @@ on:
types:
- labeled
env:
FEATURE_BRANCHES: "privacy i18n moderation branding dependency"
jobs:
info:
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
@ -41,9 +38,6 @@ jobs:
git config user.name "Your Name"
adduser --quiet --comment forgejo --disabled-password forgejo
chown -R forgejo:forgejo .
- name: merge feature branches
run: |
su forgejo -c 'set -ex ; for b in ${{ env.FEATURE_BRANCHES }} ; do git merge -m $b origin/forgejo-$b ; done'
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"