File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,17 @@ jobs:
20
20
GOBIN : /home/runner/work/open-feature/go-sdk-contrib/bin
21
21
steps :
22
22
- name : Install Go
23
- uses : actions/setup-go@v4
23
+ uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
24
24
with :
25
25
go-version : ${{ env.GO_VERSION }}
26
26
- name : Checkout repository
27
- uses : actions/checkout@v4
27
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
28
28
- name : Setup Environment
29
29
run : |
30
30
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
31
31
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
32
32
- name : Module cache
33
- uses : actions/cache@v4
33
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
34
34
env :
35
35
cache-name : go-mod-cache
36
36
with :
@@ -45,19 +45,19 @@ jobs:
45
45
runs-on : ubuntu-latest
46
46
steps :
47
47
- name : Install Go
48
- uses : actions/setup-go@v4
48
+ uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
49
49
with :
50
50
go-version : ${{ env.GO_VERSION }}
51
51
- name : Checkout repository
52
- uses : actions/checkout@v4
52
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
53
53
with :
54
54
submodules : recursive
55
55
- name : Setup Environment
56
56
run : |
57
57
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
58
58
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
59
59
- name : Module cache
60
- uses : actions/cache@v4
60
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
61
61
env :
62
62
cache-name : go-mod-cache
63
63
with :
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
12
12
name : Validate PR title
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : amannn/action-semantic-pull-request@v5
15
+ - uses : amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5
16
16
id : lint_pr_title
17
17
env :
18
18
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
19
20
- - uses : marocchino/sticky-pull-request-comment@v2
20
+ - uses : marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
21
21
# When the previous steps fails, the workflow would stop. By adding this
22
22
# condition you can continue the execution with the populated error message.
23
23
if : always() && (steps.lint_pr_title.outputs.error_message != null)
34
34
```
35
35
# Delete a previous comment when the issue has been resolved
36
36
- if : ${{ steps.lint_pr_title.outputs.error_message == null }}
37
- uses : marocchino/sticky-pull-request-comment@v2
37
+ uses : marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
38
38
with :
39
39
header : pr-title-lint-error
40
40
delete : true
Original file line number Diff line number Diff line change 9
9
release-please :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : googleapis/release-please-action@v3
12
+ - uses : googleapis/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3
13
13
id : release
14
14
with :
15
15
command : manifest
@@ -31,14 +31,14 @@ jobs:
31
31
TAG : ${{ fromJSON(needs.release-please.outputs.all)[format('{0}--tag_name', matrix.release)] }}
32
32
steps :
33
33
- name : Checkout repository
34
- uses : actions/checkout@v4
34
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
35
35
- name : Set up Go
36
- uses : actions/setup-go@v4
36
+ uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
37
37
with :
38
38
go-version : ${{ env.GO_VERSION }}
39
39
# Create SBOM
40
40
- name : Generate SBOM
41
- uses : CycloneDX/gh-gomod-generate-sbom@v2
41
+ uses : CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2
42
42
with :
43
43
version : v1
44
44
args : mod -licenses -json -output bom.json ${{ matrix.release }}
You can’t perform that action at this time.
0 commit comments