/[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 632 - (show annotations)
Thu Oct 10 17:53:11 2024 UTC (5 months, 2 weeks ago) by rakinar2
File size: 943 byte(s)
chore: synchronize

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.name "Ar Rakin"
29 git config --global user.email "[email protected]"
30 git config --global user.signingkey "6AE7B08C68169452"
31 git config --global commit.gpgsign true
32
33 - name: Git Pull
34 run: git pull --unshallow
35
36 - name: Merge main with dev
37 run: |
38 git switch dev && git merge main -m "merge: with branch main"
39
40 - name: Push
41 run: git push origin dev
42

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26