-
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (47 loc) · 1.17 KB
/
checks.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
51
52
53
54
55
56
57
#
# Run all checks on PRs and pushes
#
name: Checks
# Controls when the action will run.
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main, next, beta, alpha]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}_${{ github.head_ref || github.ref_name || github.run_id }}
cancel-in-progress: true
# Declare default permissions as read only.
permissions:
contents: read
jobs:
lint-pr:
name: '▶️ actions'
uses: ./.github/workflows/lint-pr.yml
codeql:
name: '▶️ actions'
needs: [lint-pr]
uses: ./.github/workflows/codeql.yml
permissions:
actions: read
contents: read
security-events: write
dependencies:
name: '▶️ actions'
needs: [lint-pr]
uses: ./.github/workflows/dependencies.yml
permissions:
pull-requests: write
contents: write
npm-lint:
name: '▶️ actions'
uses: ./.github/workflows/npm-lint.yml
docker:
name: '▶️ actions'
needs: [npm-lint]
uses: ./.github/workflows/docker.yml
permissions:
contents: read
packages: write