@@ -21,18 +21,18 @@ jobs:
2121 outputs :
2222 paths : ${{ steps.filter.outputs.changes }}
2323 steps :
24- - uses : actions/checkout@v6
25- with :
26- ref : ${{ github.event.pull_request.head.sha }}
2724 - name : Harden Runner
28- uses : step-security/harden-runner@v2
25+ uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
2926 with :
3027 disable-sudo : true
3128 egress-policy : block
3229 allowed-endpoints : >
3330 api.github.com:443
3431 github.com:443
35- - uses : dorny/paths-filter@v3
32+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+ with :
34+ ref : ${{ github.event.pull_request.head.sha }}
35+ - uses : dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
3636 id : filter
3737 with :
3838 base : ${{ github.ref }}
4545 if : ${{ contains(fromJSON(needs.changes.outputs.paths), 'src') }}
4646 steps :
4747 - name : Harden Runner
48- uses : step-security/harden-runner@v2
48+ uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
4949 with :
5050 disable-sudo : true
5151 egress-policy : block
@@ -61,10 +61,10 @@ jobs:
6161 api.codecov.io:443
6262 ingest.codecov.io:443
6363
64- - uses : actions/checkout@v6
64+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6565 with :
6666 ref : ${{ github.event.pull_request.head.sha }}
67- - uses : actions/setup-go@v6
67+ - uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
6868 with :
6969 go-version-file : go.mod
7070 check-latest : true
7373 run : make test
7474
7575 - name : Upload coverage reports to Codecov
76- uses : codecov/codecov-action@v5
76+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
7777 with :
7878 files : ./coverage.out
7979 verbose : true
@@ -94,24 +94,29 @@ jobs:
9494 LINODE_MACHINE_TYPE : g6-standard-2
9595 WORKER_NODES : ' 2'
9696 steps :
97- - uses : actions/checkout@v6
97+ - name : Harden Runner
98+ uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
99+ with :
100+ disable-sudo : true
101+ egress-policy : audit
102+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
98103 with :
99104 ref : ${{ github.event.pull_request.head.sha }}
100105
101106 - name : Set up Go
102- uses : actions/setup-go@v6
107+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
103108 with :
104109 go-version-file : ' go.mod'
105110 check-latest : true
106111
107112 - name : Login to Docker Hub
108- uses : docker/login-action@v3
113+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
109114 with :
110115 username : ${{ secrets.DOCKER_USERNAME }}
111116 password : ${{ secrets.DOCKER_PASSWORD }}
112117
113118 - name : Install devbox
114- uses : jetify-com/devbox-install-action@v0.15.0
119+ uses : jetify-com/devbox-install-action@8c6a66ed6273138b1915457069de78cb52fe3bd7 # v0.15.0
115120
116121 - name : Setup CAPL Management Kind Cluster and CAPL Child Cluster For Testing
117122 run : devbox run mgmt-and-capl-cluster
0 commit comments