-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 922 Bytes
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Master
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, 'chore(release):') == false
steps:
- name: Create GitHub App Token
uses: actions/[email protected]
id: generate-token
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_KEY }}
- uses: actions/checkout@v3
with:
token: ${{ steps.generate-token.outputs.token }}
submodules: recursive
fetch-depth: 0
- uses: actions/[email protected]
with:
node-version: 21
- run: npm install -g commit-and-tag-version
- run: |
git config --global user.name "DemyCode"
git config --global user.email "[email protected]"
- run: |
commit-and-tag-version
- run: git push --follow-tags