File tree Expand file tree Collapse file tree 14 files changed +41
-33
lines changed Expand file tree Collapse file tree 14 files changed +41
-33
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: Build
3
3
on :
4
4
workflow_call :
5
5
6
- permissions :
7
- contents : read
8
-
9
6
jobs :
10
7
build :
11
8
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: Code Quality
3
3
on :
4
4
pull_request :
5
5
6
+ permissions :
7
+ contents : read
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
6
13
jobs :
7
14
trufflehog :
8
15
uses : ./.github/workflows/jobs/truffle-hog.yml
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: Coding Standards
3
3
on :
4
4
pull_request :
5
5
6
+ permissions :
7
+ contents : read
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
6
13
jobs :
7
14
stylelint :
8
15
uses : ./.github/workflows/jobs/stylelint.yml
Original file line number Diff line number Diff line change 10
10
required : true
11
11
type : string
12
12
13
- permissions :
14
- contents : read
15
-
16
13
jobs :
17
14
deploy :
18
15
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- develop
7
7
8
+ permissions :
9
+ contents : read
10
+
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress : true
14
+
8
15
jobs :
9
16
lint :
10
17
uses : ./.github/workflows/coding-standards.yml
@@ -14,11 +21,11 @@ jobs:
14
21
needs : lint
15
22
16
23
build :
17
- uses : ./.github/workflows/jobs/ build.yml
24
+ uses : ./.github/workflows/build.yml
18
25
needs : test
19
26
20
27
deploy :
21
- uses : ./.github/workflows/jobs/ deploy.yml
28
+ uses : ./.github/workflows/deploy.yml
22
29
needs : build
23
30
with :
24
31
name : develop
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: JavaScript Coding Standards
3
3
on :
4
4
workflow_call :
5
5
6
- permissions :
7
- contents : read
8
-
9
6
jobs :
10
7
eslint :
11
8
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: JavaScript Unit Tests
3
3
on :
4
4
workflow_call :
5
5
6
- permissions :
7
- contents : read
8
-
9
6
jobs :
10
7
jest :
11
8
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: PHP Coding Standards
3
3
on :
4
4
workflow_call :
5
5
6
- permissions :
7
- contents : read
8
-
9
6
jobs :
10
7
phpcs :
11
8
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: PHP Static Analysis
3
3
on :
4
4
workflow_call :
5
5
6
- permissions :
7
- contents : read
8
-
9
6
jobs :
10
7
phpstan :
11
8
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- trunk
7
7
8
+ permissions :
9
+ contents : read
10
+
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress : true
14
+
8
15
jobs :
9
16
lint :
10
17
uses : ./.github/workflows/coding-standards.yml
@@ -14,11 +21,11 @@ jobs:
14
21
needs : lint
15
22
16
23
build :
17
- uses : ./.github/workflows/jobs/ build.yml
24
+ uses : ./.github/workflows/build.yml
18
25
needs : test
19
26
20
27
deploy :
21
- uses : ./.github/workflows/jobs/ deploy.yml
28
+ uses : ./.github/workflows/deploy.yml
22
29
needs : build
23
30
with :
24
31
name : production
You can’t perform that action at this time.
0 commit comments