[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:
parent
cf1c57b681
commit
a4ca473d33
|
@ -4,9 +4,6 @@ on:
|
||||||
types:
|
types:
|
||||||
- labeled
|
- labeled
|
||||||
|
|
||||||
env:
|
|
||||||
FEATURE_BRANCHES: "privacy i18n moderation branding dependency"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
info:
|
info:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
||||||
|
@ -41,9 +38,6 @@ jobs:
|
||||||
git config user.name "Your Name"
|
git config user.name "Your Name"
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
adduser --quiet --comment forgejo --disabled-password forgejo
|
||||||
chown -R forgejo: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
|
- uses: https://code.forgejo.org/actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.21"
|
go-version: "1.21"
|
||||||
|
|
Loading…
Reference in a new issue