generated from atls-lab/template
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.04 KB
/
version.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Version
on:
pull_request:
types:
- closed
branches:
- master
jobs:
run:
name: Version
env:
NODE_VERSION: '19'
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }}
private-key: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install
uses: ./.github/actions/install
- name: Version
uses: ./.github/actions/version
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit changes
uses: ./.github/actions/commit
with:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
COMMIT_MESSAGE: 'chore(common): versions'