Skip to content

Commit fe1d150

Browse files
authored
chore(ci): lock gha dependencies (#863)
Keep readable tags for GitHub Actions in the workflows and record the reviewed commits in `actions.lock`, including transitive actions used by the composite build action.
1 parent 2fdfc4f commit fe1d150

14 files changed

Lines changed: 170 additions & 57 deletions

‎.github/actions/build-and-persist-plugin-binary/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ inputs:
1010
runs:
1111
using: composite
1212
steps:
13-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13+
- uses: actions/checkout@v6.0.2
1414
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
1515
shell: bash
1616
- run: zip ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
1717
shell: bash
1818
- run: rm ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
1919
shell: bash
20-
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
20+
- uses: actions/upload-artifact@v6.0.0
2121
with:
2222
name: "packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
2323
path: "pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"

‎.github/workflows/actions.lock‎

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# This file is machine-generated by `gh actions-lock`.
2+
# Do not edit by hand; run `gh actions-lock` to update.
3+
# Docs: https://gh.io/actions-lockfile
4+
version: 'v0.0.3'
5+
workflows:
6+
'.github/workflows/build_plugin_binaries.yml':
7+
- 'actions/checkout@v6.0.2'
8+
- 'actions/checkout@v7.0.1'
9+
- 'actions/upload-artifact@v6.0.0'
10+
'.github/workflows/docs-test.yml':
11+
- 'actions/checkout@v7.0.1'
12+
- 'actions/setup-go@v7.0.0'
13+
- 'actions/setup-python@v7.1.0'
14+
'.github/workflows/go-test.yml':
15+
- 'actions/checkout@v7.0.1'
16+
- 'actions/setup-go@v7.0.0'
17+
'.github/workflows/go-validate.yml':
18+
- 'actions/checkout@v7.0.1'
19+
- 'actions/setup-go@v7.0.0'
20+
- 'golangci/golangci-lint-action@v9.3.0'
21+
'.github/workflows/issue-opened.yml':
22+
- 'github/issue-labeler@v3.5'
23+
'.github/workflows/lock.yml':
24+
- 'dessant/lock-threads@v6.0.2'
25+
'.github/workflows/milestone-closed.yml':
26+
- 'bflad/action-milestone-comment@v2.0.0'
27+
'.github/workflows/notify-integration-release-via-manual.yaml':
28+
- 'actions/checkout@v7.0.1'
29+
- 'actions/setup-go@v7.0.0'
30+
'.github/workflows/notify-integration-release-via-tag.yaml':
31+
- 'actions/checkout@v7.0.1'
32+
- 'actions/setup-go@v7.0.0'
33+
'.github/workflows/pull-requests.yml':
34+
- 'actions/labeler@v7.0.0'
35+
- 'codelytv/pr-size-labeler@v1.12.0'
36+
'.github/workflows/release.yml':
37+
- 'actions/checkout@v7.0.1'
38+
- 'actions/setup-go@v7.0.0'
39+
- 'crazy-max/ghaction-import-gpg@v7.0.0'
40+
- 'goreleaser/goreleaser-action@v7.3.0'
41+
'.github/workflows/stale.yml':
42+
- 'actions/stale@v11.0.0'
43+
dependencies:
44+
'actions/checkout@v6.0.2':
45+
ref: 'v6.0.2'
46+
commit: 'sha1-de0fac2e4500dabe0009e67214ff5f5447ce83dd'
47+
owner_id: 44036562
48+
repo_id: 197814629
49+
'actions/checkout@v7.0.1':
50+
ref: 'v7.0.1'
51+
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
52+
owner_id: 44036562
53+
repo_id: 197814629
54+
'actions/labeler@v7.0.0':
55+
ref: 'v7.0.0'
56+
commit: 'sha1-bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13'
57+
owner_id: 44036562
58+
repo_id: 177139928
59+
'actions/setup-go@v7.0.0':
60+
ref: 'v7.0.0'
61+
commit: 'sha1-b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
62+
owner_id: 44036562
63+
repo_id: 192624594
64+
'actions/setup-python@v7.1.0':
65+
ref: 'v7.1.0'
66+
commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
67+
owner_id: 44036562
68+
repo_id: 192625525
69+
'actions/stale@v11.0.0':
70+
ref: 'v11.0.0'
71+
commit: 'sha1-4391f3da665fdf50b6810c1a66712fb9ba21aa93'
72+
owner_id: 44036562
73+
repo_id: 200437066
74+
'actions/upload-artifact@v6.0.0':
75+
ref: 'v6.0.0'
76+
commit: 'sha1-b7c566a772e6b6bfb58ed0dc250532a479d7789f'
77+
owner_id: 44036562
78+
repo_id: 192625955
79+
'bflad/action-milestone-comment@v2.0.0':
80+
ref: 'v2.0.0'
81+
commit: 'sha1-4618cbf8bf938d31af1c576beeaaa77f486f5af3'
82+
owner_id: 189114
83+
repo_id: 373608892
84+
'codelytv/pr-size-labeler@v1.12.0':
85+
ref: 'v1.12.0'
86+
commit: 'sha1-19c335e7695ba922de938806dd129f0a9b992644'
87+
owner_id: 14278228
88+
repo_id: 243538828
89+
'crazy-max/ghaction-import-gpg@v7.0.0':
90+
ref: 'v7.0.0'
91+
commit: 'sha1-2dc316deee8e90f13e1a351ab510b4d5bc0c82cd'
92+
owner_id: 1951866
93+
repo_id: 260488959
94+
'dessant/lock-threads@v6.0.2':
95+
ref: 'v6.0.2'
96+
commit: 'sha1-89ae32b08ed1a541efecbab17912962a5e38981c'
97+
owner_id: 7513068
98+
repo_id: 113918130
99+
'github/issue-labeler@v3.5':
100+
ref: 'v3.5'
101+
commit: 'sha1-ccca1e16fcb66762200e616fc29b57b940c1cb67'
102+
owner_id: 9919
103+
repo_id: 233953071
104+
'golangci/golangci-lint-action@v9.3.0':
105+
ref: 'v9.3.0'
106+
commit: 'sha1-ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a'
107+
owner_id: 35628013
108+
repo_id: 232539879
109+
'goreleaser/goreleaser-action@v7.3.0':
110+
ref: 'v7.3.0'
111+
commit: 'sha1-a4f02ab5355a589de60d917a659ce617ed19b3de'
112+
owner_id: 24697112
113+
repo_id: 209873006

‎.github/workflows/build_plugin_binaries.yml‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
container:
2121
image: docker.mirror.hashicorp.services/cimg/go:1.21
2222
steps:
23-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24-
- uses: "./.github/actions/build-and-persist-plugin-binary"
23+
- uses: actions/checkout@v7.0.1
24+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
2525
with:
2626
GOOS: darwin
2727
GOARCH: amd64
28-
- uses: "./.github/actions/build-and-persist-plugin-binary"
28+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
2929
with:
3030
GOOS: darwin
3131
GOARCH: arm64
@@ -37,16 +37,16 @@ jobs:
3737
container:
3838
image: docker.mirror.hashicorp.services/cimg/go:1.21
3939
steps:
40-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
41-
- uses: "./.github/actions/build-and-persist-plugin-binary"
40+
- uses: actions/checkout@v7.0.1
41+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
4242
with:
4343
GOOS: freebsd
4444
GOARCH: 386
45-
- uses: "./.github/actions/build-and-persist-plugin-binary"
45+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
4646
with:
4747
GOOS: freebsd
4848
GOARCH: amd64
49-
- uses: "./.github/actions/build-and-persist-plugin-binary"
49+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
5050
with:
5151
GOOS: freebsd
5252
GOARCH: arm
@@ -58,20 +58,20 @@ jobs:
5858
container:
5959
image: docker.mirror.hashicorp.services/cimg/go:1.21
6060
steps:
61-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
62-
- uses: "./.github/actions/build-and-persist-plugin-binary"
61+
- uses: actions/checkout@v7.0.1
62+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
6363
with:
6464
GOOS: linux
6565
GOARCH: 386
66-
- uses: "./.github/actions/build-and-persist-plugin-binary"
66+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
6767
with:
6868
GOOS: linux
6969
GOARCH: amd64
70-
- uses: "./.github/actions/build-and-persist-plugin-binary"
70+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
7171
with:
7272
GOOS: linux
7373
GOARCH: arm
74-
- uses: "./.github/actions/build-and-persist-plugin-binary"
74+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
7575
with:
7676
GOOS: linux
7777
GOARCH: arm64
@@ -83,16 +83,16 @@ jobs:
8383
container:
8484
image: docker.mirror.hashicorp.services/cimg/go:1.21
8585
steps:
86-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
87-
- uses: "./.github/actions/build-and-persist-plugin-binary"
86+
- uses: actions/checkout@v7.0.1
87+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
8888
with:
8989
GOOS: netbsd
9090
GOARCH: 386
91-
- uses: "./.github/actions/build-and-persist-plugin-binary"
91+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
9292
with:
9393
GOOS: netbsd
9494
GOARCH: amd64
95-
- uses: "./.github/actions/build-and-persist-plugin-binary"
95+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
9696
with:
9797
GOOS: netbsd
9898
GOARCH: arm
@@ -104,16 +104,16 @@ jobs:
104104
container:
105105
image: docker.mirror.hashicorp.services/cimg/go:1.21
106106
steps:
107-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
108-
- uses: "./.github/actions/build-and-persist-plugin-binary"
107+
- uses: actions/checkout@v7.0.1
108+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
109109
with:
110110
GOOS: openbsd
111111
GOARCH: 386
112-
- uses: "./.github/actions/build-and-persist-plugin-binary"
112+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
113113
with:
114114
GOOS: openbsd
115115
GOARCH: amd64
116-
- uses: "./.github/actions/build-and-persist-plugin-binary"
116+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
117117
with:
118118
GOOS: openbsd
119119
GOARCH: arm
@@ -125,8 +125,8 @@ jobs:
125125
container:
126126
image: docker.mirror.hashicorp.services/cimg/go:1.21
127127
steps:
128-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
129-
- uses: "./.github/actions/build-and-persist-plugin-binary"
128+
- uses: actions/checkout@v7.0.1
129+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
130130
with:
131131
GOOS: solaris
132132
GOARCH: amd64
@@ -138,12 +138,12 @@ jobs:
138138
container:
139139
image: docker.mirror.hashicorp.services/cimg/go:1.21
140140
steps:
141-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
142-
- uses: "./.github/actions/build-and-persist-plugin-binary"
141+
- uses: actions/checkout@v7.0.1
142+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
143143
with:
144144
GOOS: windows
145145
GOARCH: 386
146-
- uses: "./.github/actions/build-and-persist-plugin-binary"
146+
- uses: "$/.github/actions/build-and-persist-plugin-binary"
147147
with:
148148
GOOS: windows
149149
GOARCH: amd64

‎.github/workflows/docs-test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout Repository
44-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
44+
uses: actions/checkout@v7.0.1
4545

4646
- name: Setup Go
47-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
47+
uses: actions/setup-go@v7.0.0
4848
with:
4949
go-version-file: go.mod
5050
cache: true
5151

5252
- name: Setup Python
53-
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
53+
uses: actions/setup-python@v7.1.0
5454
with:
5555
python-version: '3.x'
5656

‎.github/workflows/go-test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
name: Go Tests (${{ matrix.os }})
2323
steps:
2424
- name: Checkout Repository
25-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25+
uses: actions/checkout@v7.0.1
2626
- name: Setup Go
27-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
27+
uses: actions/setup-go@v7.0.0
2828
with:
2929
go-version-file: go.mod
3030
cache: true

‎.github/workflows/go-validate.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
name: Go Mod Tidy Check
2525
steps:
2626
- name: Checkout Repository
27-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27+
uses: actions/checkout@v7.0.1
2828
- name: Setup Go
29-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
29+
uses: actions/setup-go@v7.0.0
3030
with:
3131
go-version-file: go.mod
3232
cache: true
@@ -46,14 +46,14 @@ jobs:
4646
name: Go Lint Check
4747
steps:
4848
- name: Checkout Repository
49-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
49+
uses: actions/checkout@v7.0.1
5050
- name: Setup Go
51-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
51+
uses: actions/setup-go@v7.0.0
5252
with:
5353
go-version-file: go.mod
5454
cache: true
5555
- name: Run golangci-lint
56-
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
56+
uses: golangci/golangci-lint-action@v9.3.0
5757
with:
5858
version: latest
5959
only-new-issues: true
@@ -63,9 +63,9 @@ jobs:
6363
name: Go Format Check
6464
steps:
6565
- name: Checkout Repository
66-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
66+
uses: actions/checkout@v7.0.1
6767
- name: Setup Go
68-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
68+
uses: actions/setup-go@v7.0.0
6969
with:
7070
go-version-file: go.mod
7171
cache: true
@@ -86,9 +86,9 @@ jobs:
8686
name: Go Generate Check
8787
steps:
8888
- name: Checkout Repository
89-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
89+
uses: actions/checkout@v7.0.1
9090
- name: Setup Go
91-
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
91+
uses: actions/setup-go@v7.0.0
9292
with:
9393
go-version-file: go.mod
9494
cache: true

‎.github/workflows/issue-opened.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
issues: write
1717
steps:
1818
- name: Apply Labels
19-
uses: github/issue-labeler@ccca1e16fcb66762200e616fc29b57b940c1cb67 # v3.5
19+
uses: github/issue-labeler@v3.5
2020
with:
2121
repo-token: '${{ secrets.GITHUB_TOKEN }}'
2222
configuration-path: .github/labeler-issues.yml

‎.github/workflows/lock.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
issues: write
1616
pull-requests: write
1717
steps:
18-
- uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2
18+
- uses: dessant/lock-threads@v6.0.2
1919
with:
2020
github-token: '${{ secrets.GITHUB_TOKEN }}'
2121
issue-comment: >

‎.github/workflows/milestone-closed.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
issues: write
1616
pull-requests: write
1717
steps:
18-
- uses: bflad/action-milestone-comment@4618cbf8bf938d31af1c576beeaaa77f486f5af3 # v2.0.0
18+
- uses: bflad/action-milestone-comment@v2.0.0
1919
with:
2020
body: |
2121
This functionality has been released in [${{ github.event.milestone.title }}](${{ github.event.milestone.html_url }}) of the plugin.

‎.github/workflows/notify-integration-release-via-manual.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout Repository
36-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36+
uses: actions/checkout@v7.0.1
3737
with:
3838
ref: ${{ github.event.inputs.branch }}
3939
# Ensure the documentation is up-to-date.
40-
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
40+
- uses: actions/setup-go@v7.0.0
4141
with:
4242
go-version-file: 'go.mod'
4343
- shell: bash
@@ -56,7 +56,7 @@ jobs:
5656
fi
5757
# Perform the release.
5858
- name: Checkout Repository (Integration Release Action)
59-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
59+
uses: actions/checkout@v7.0.1
6060
with:
6161
repository: hashicorp/integration-release-action
6262
path: ./integration-release-action

0 commit comments

Comments
 (0)