-
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 989 Bytes
/
on_pr.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
# This is workflow runs on push
#
name: Pull Request Check
# Controls when the action will run.
on:
# Trigger workflow for pull requests.
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: PR_${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint-pr:
name: '▶️ actions'
uses: ./.github/workflows/lint-pr.yml
npm-lint:
name: '▶️ actions'
needs: [lint-pr]
uses: ./.github/workflows/npm-lint.yml
docker:
name: '▶️ actions'
needs: [npm-lint]
uses: ./.github/workflows/docker.yml
permissions:
contents: read
packages: write
codeql:
name: '▶️ actions'
needs: [lint-pr]
uses: ./.github/workflows/codeql.yml
permissions:
actions: read
contents: read
security-events: write
dependencies:
name: '▶️ actions'
uses: ./.github/workflows/dependencies.yml
permissions:
pull-requests: write
contents: write