File tree 8 files changed +22
-26
lines changed
8 files changed +22
-26
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
12
12
pull-requests : write
13
13
14
14
steps :
15
- - uses : actions/checkout@v4
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
16
17
17
- name : Run automation script
18
- uses : actions/github-script@v7
18
+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
19
19
id : updt
20
20
with :
21
21
result-encoding : string
25
25
26
26
- name : Create update PR
27
27
id : cpr
28
- uses : peter-evans/create-pull-request@v7
28
+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
29
29
with :
30
30
token : ${{ secrets.GH_API_TOKEN }}
31
31
author :
" Node.js GitHub Bot <[email protected] >"
Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ jobs:
22
22
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v4
25
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26
26
27
27
- name : Calculate file differences
28
28
id : diff
29
- uses : tj-actions/changed-files@v45
29
+ uses : tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
30
30
with :
31
31
json : true
32
32
escape_json : false
33
33
34
34
- name : Generate testing matrix
35
- uses : actions/github-script@v7
35
+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
36
36
id : generator
37
37
with :
38
38
github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -59,17 +59,17 @@ jobs:
59
59
60
60
steps :
61
61
- name : Get short node version
62
- uses : actions/github-script@v7
62
+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
63
63
id : short-version
64
64
with :
65
65
result-encoding : string
66
66
script : return "${{ matrix.version }}".split('.')[0]
67
67
68
68
- name : Checkout
69
- uses : actions/checkout@v4
69
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70
70
71
71
- name : Build image
72
- uses : docker/build-push-action@v6
72
+ uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
73
73
with :
74
74
push : false
75
75
load : true
Original file line number Diff line number Diff line change 14
14
name : Doc TOC Check
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v4
18
- - uses : actions/setup-node@v4
17
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+ - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
19
19
with :
20
20
node-version : ' lts/*'
21
21
- name : Install doctoc
Original file line number Diff line number Diff line change 9
9
eclint :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v4
13
- - uses : actions/setup-node@v4
12
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13
+ - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
14
14
with :
15
15
node-version : ' lts/*'
16
16
- run : npm i -g eclint
Original file line number Diff line number Diff line change 13
13
markdown-link-check :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v4
17
- - uses : actions/setup-node@v4
16
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
+ - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
18
18
with :
19
19
node-version : ' lts/*'
20
20
- name : Install markdown-link-check
Original file line number Diff line number Diff line change 13
13
test :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v4
16
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
17
18
18
- name : Count number of Alpine Dockersfiles without CHECKSUM
19
19
run : |
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ jobs:
21
21
22
22
steps :
23
23
- name : Checkout the docker-node repo
24
- uses : actions/checkout@v4
24
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25
25
with :
26
26
path : docker-node
27
27
ref : ${{ github.base_ref }}
28
28
fetch-depth : 50
29
29
30
30
- name : Checkout the official-images repo
31
- uses : actions/checkout@v4
31
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32
32
with :
33
33
path : official-images
34
34
repository : docker-library/official-images
40
40
41
41
- name : Create PR in official-images
42
42
id : create-pr
43
- uses : peter-evans/create-pull-request@v7
43
+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
44
44
with :
45
45
token : ${{ secrets.GH_API_TOKEN }}
46
46
push-to-fork : nodejs/official-images
58
58
echo "Pull Request URL - ${{ steps.create-pr.outputs.pull-request-url }}"
59
59
60
60
- name : Create PR comment
61
- uses : peter-evans/create-or-update-comment@v4
61
+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
62
62
if : ${{ steps.create-pr.outputs.pull-request-url != '' }}
63
63
with :
64
64
issue-number : ${{ github.event.pull_request.number }}
65
65
body : |
66
66
Created PR on the official-images repo (${{ steps.create-pr.outputs.pull-request-url }}). See https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what if you are wondering when it will be available on the Docker Hub.
67
-
68
- - name : Dump context
69
- if : always()
70
- uses : crazy-max/ghaction-dump-context@v2
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
12
12
shfmt :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v4
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
16
- run : docker run -v "$(pwd)":/sh -w /sh peterdavehello/shfmt:2.6.3 shfmt -sr -i 2 -l -w -ci .
17
17
- run : git diff --color --exit-code
18
18
19
19
shellcheck :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v4
22
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23
23
- run : shellcheck *.sh
You can’t perform that action at this time.
0 commit comments