mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-13 07:00:38 +00:00
feat(ci): make f38 the default branch (#393)
* feat(ci): make f38 the default branch * feat(ci): turn off autoupdate for f37 * fix(ci): turn off sync
This commit is contained in:
@@ -6,7 +6,7 @@ jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:main
|
||||
image: ghcr.io/terrapkg/builder:f38
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
@@ -4,13 +4,14 @@ on:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- f39
|
||||
- f38
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
strategy:
|
||||
matrix:
|
||||
branch: ["f37", "f38"]
|
||||
branch: ["f37"]
|
||||
fail-fast: false
|
||||
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'nosync')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -3,7 +3,6 @@ name: Push comps updates
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- f39
|
||||
- f38
|
||||
- f37
|
||||
paths:
|
||||
@@ -14,7 +13,7 @@ jobs:
|
||||
update-comps:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:main
|
||||
image: ghcr.io/terrapkg/builder:38
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- id: get-branch
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:main
|
||||
image: ghcr.io/terrapkg/builder:38
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:main
|
||||
image: ghcr.io/terrapkg/builder:38
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -39,14 +39,10 @@ jobs:
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
msg="bump: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git commit -S -a -m "$msg"
|
||||
git format-patch HEAD^
|
||||
git checkout f38
|
||||
git apply *.patch || true
|
||||
git add anda
|
||||
git commit -S -a -m "$msg"
|
||||
git checkout f37
|
||||
git apply *.patch || true
|
||||
git add anda
|
||||
git commit -S -a -m "$msg"
|
||||
# git format-patch HEAD^
|
||||
# git checkout f37
|
||||
# git apply *.patch || true
|
||||
# git add *
|
||||
# git commit -S -a -m "$msg"
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user