/[sudobot]/trunk/.github/workflows/update-dev.yml
ViewVC logotype

Contents of /trunk/.github/workflows/update-dev.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 631 - (show annotations)
Tue Sep 10 15:53:22 2024 UTC (6 months, 2 weeks ago) by rakinar2
File size: 822 byte(s)
chore: sync

1 name: Update dev Branch
2
3 on:
4 push:
5 branches:
6 - main
7
8 permissions:
9 contents: write
10
11 concurrency:
12 group: ${{ github.event.ref }}
13 cancel-in-progress: true
14
15 jobs:
16 update:
17 runs-on: ubuntu-latest
18
19 steps:
20 - name: Checkout
21 uses: actions/checkout@v4
22
23 - name: Prepare Git
24 run: |
25 echo "${{ secrets.COMMIT_GPG_KEY }}" > private.key
26 gpg --import private.key
27 rm -f private.key
28 git config --global user.signingkey "6AE7B08C68169452"
29 git config --global commit.gpgsign true
30
31 - name: Git Pull
32 run: git pull --unshallow
33
34 - name: Merge main with dev
35 run: |
36 git switch dev && git merge main -m "merge: with branch main"
37
38 - name: Push
39 run: git push origin dev
40

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26