-
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.07 KB
/
on_push.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This is workflow runs on push
#
name: Release
# Controls when the action will run.
on:
# Trigger workflow for pull requests.
push:
branches: [main, next, beta, alpha]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
npm-lint:
name: '▶️ actions'
uses: ./.github/workflows/npm-lint.yml
codeql:
name: '▶️ actions'
uses: ./.github/workflows/codeql.yml
permissions:
actions: read
contents: read
security-events: write
docker:
name: '▶️ actions'
needs: [npm-lint]
uses: ./.github/workflows/docker.yml
permissions:
contents: read
packages: write
release:
name: '▶️ actions'
needs: [npm-lint, docker, codeql]
uses: ./.github/workflows/semantic-release.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
permissions:
contents: write
issues: write
pull-requests: write
packages: write