File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ jobs:
22
22
steps :
23
23
24
24
- name : Checkout
25
- uses : actions/checkout@v3
25
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26
26
27
27
# User PHP 7.4 here for compatibility with the WordPress codesniffer rules.
28
28
- name : Setup PHP
29
- uses : shivammathur/setup-php@v2
29
+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
30
30
with :
31
31
php-version : ' 7.3'
32
32
coverage : none
33
33
tools : composer, cs2pr
34
34
35
- - uses : technote-space/get-diff-action@v6
35
+ - uses : technote-space/get-diff-action@f27caffdd0fb9b13f4fc191c016bb4e0632844af # v6.1.2
36
36
with :
37
37
PATTERNS : |
38
38
**/*.php
44
44
if : " !! env.GIT_DIFF"
45
45
46
46
- name : Cache Composer vendor directory
47
- uses : actions/cache@v4
47
+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
48
48
with :
49
49
path : ${{ steps.composer-cache.outputs.dir }}
50
50
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ jobs:
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- name : Checkout Repository
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25
25
26
26
# Install Node and npm
27
27
- name : Setup Node.js
28
- uses : actions/setup-node@v3
28
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
29
29
with :
30
30
node-version : 16.x
31
31
cache : ' npm'
32
32
33
33
# Checks if node_modules exists in the cache.
34
34
- name : Cache node_modules directory
35
35
id : cache
36
- uses : actions/cache@v4
36
+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
37
37
with :
38
38
path : node_modules
39
39
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
49
49
if : steps.cache.outputs.cache-hit != 'true'
50
50
51
51
# Gets the files changed wrt to trunk and filters out the js files.
52
- - uses : technote-space/get-diff-action@v6
52
+ - uses : technote-space/get-diff-action@f27caffdd0fb9b13f4fc191c016bb4e0632844af # v6.1.2
53
53
with :
54
54
PATTERNS : |
55
55
+(src)/**/*.js
61
61
if : " !! env.GIT_DIFF"
62
62
63
63
# Gets the files changed wrt to trunk and filters out the SASS files.
64
- - uses : technote-space/get-diff-action@v6
64
+ - uses : technote-space/get-diff-action@f27caffdd0fb9b13f4fc191c016bb4e0632844af # v6.1.2
65
65
with :
66
66
PATTERNS : |
67
67
+(src)/**/*.scss
Original file line number Diff line number Diff line change 15
15
steps :
16
16
17
17
- name : Checkout trunk
18
- uses : actions/checkout@v4
18
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
19
20
20
- name : Create Release Branch
21
21
run : |
@@ -42,20 +42,20 @@ jobs:
42
42
git commit -m "Update boostrap.php to $new_version"
43
43
44
44
- name : Setup PHP
45
- uses : shivammathur/setup-php@v2
45
+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
46
46
with :
47
47
php-version : ' 8.1'
48
48
coverage : none
49
49
tools : composer, cs2pr
50
50
51
51
- name : Setup Node.js
52
- uses : actions/setup-node@v3
52
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
53
53
with :
54
54
node-version : 16.x
55
55
56
56
- name : Setup Registry
57
57
run : printf "@newfold-labs:registry=https://npm.pkg.github.com/\n//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
58
-
58
+
59
59
- name : Log Debug Information
60
60
run : |
61
61
php --version
Original file line number Diff line number Diff line change 22
22
run : echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
23
23
24
24
- name : Repository Dispatch
25
- uses : peter-evans/repository-dispatch@v1
25
+ uses : peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
26
26
with :
27
27
token : ${{ secrets.WEBHOOK_TOKEN }}
28
28
repository : newfold-labs/satis
You can’t perform that action at this time.
0 commit comments