Commit 2a9c23e
authored
chore(ci): update GitHub Actions to specific commit SHAs for improved reliability (#54)
This pull request updates all GitHub Actions used in the workflow files
to pin them to specific commit SHAs and upgrade to newer versions where
available. This improves security by preventing accidental upgrades and
ensures more consistent and reliable CI/CD runs.
**GitHub Actions version pinning and upgrades:**
- All actions in `.github/workflows/pr.yaml`,
`.github/workflows/release.yaml`, `.github/workflows/snapshot.yaml`, and
`.github/workflows/test.yaml` have been updated to use specific commit
SHAs, ensuring reproducibility and improved security.
[[1]](diffhunk://#diff-1eb4e5fd5611777d4e597ef299a1cb5ba8050c28a2dabbd4fbc56205d69e5ddaL18-R18)
[[2]](diffhunk://#diff-e426ed45842837026e10e66af23d9c7077e89eacbe6958ce7cb991130ad05adaL19-R19)
[[3]](diffhunk://#diff-e426ed45842837026e10e66af23d9c7077e89eacbe6958ce7cb991130ad05adaL38-R58)
[[4]](diffhunk://#diff-8da12a3c4afea00f93c8ec7c9a320c45d3209a66fefd270b60faff9728895914L15-R33)
[[5]](diffhunk://#diff-245392b692a50c38ecab4381b118862db514035c10983f3bd4f4b7f1f4be4692L17-R22)
[[6]](diffhunk://#diff-245392b692a50c38ecab4381b118862db514035c10983f3bd4f4b7f1f4be4692L42-R47)
**Workflow-specific action updates:**
- Upgraded `amannn/action-semantic-pull-request` to v6.1.1 and pinned by
SHA in `pr.yaml`.
- Upgraded `googleapis/release-please-action` to v4.4.0 and pinned by
SHA in `release.yaml`.
- Upgraded and pinned versions of `actions/checkout`,
`actions/setup-go`, `sigstore/cosign-installer`, `docker/login-action`,
and `goreleaser/goreleaser-action` in both `release.yaml` and
`snapshot.yaml`.
[[1]](diffhunk://#diff-e426ed45842837026e10e66af23d9c7077e89eacbe6958ce7cb991130ad05adaL38-R58)
[[2]](diffhunk://#diff-8da12a3c4afea00f93c8ec7c9a320c45d3209a66fefd270b60faff9728895914L15-R33)
- Upgraded `SonarSource/sonarqube-scan-action` to v7.0.0 and
`actions/upload-artifact` to v6.0.0 in `test.yaml`, both pinned by SHA.
- Updated `actions/checkout` and `actions/setup-go` to newer pinned
versions in `test.yaml`.1 parent e1cea98 commit 2a9c23e
4 files changed
Lines changed: 15 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
0 commit comments