Skip to content

Commit 67a0c54

Browse files
authored
chore: fix some scorecards issues (#1766)
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
1 parent b9679ac commit 67a0c54

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.github/workflows/build_and_package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ jobs:
7676
# install qemu binaries for multiarch builds (needed by goreleaser/buildx)
7777
- name: Setup qemu
7878
id: qemu
79-
uses: docker/setup-qemu-action@v3
79+
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
8080

8181
- name: Install Syft
8282
run: |
8383
# Install Syft
84-
wget --no-verbose https://raw.githubusercontent.com/anchore/syft/main/install.sh -O - | sh -s -- -b /usr/local/bin
84+
wget --no-verbose https://raw.githubusercontent.com/anchore/syft/c43f4fb416c34c1c4b3997373689d8d4c0fb9b36/install.sh -O - | sh -s -- -b /usr/local/bin
8585
8686
- name: Run GoReleaser
8787
id: release

.github/workflows/docs_deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
# Limit to a single workflow
99
concurrency: "deploy-to-prod"
1010

11+
permissions: {}
12+
1113
jobs:
1214
chainloop_init:
1315
name: Chainloop Init
@@ -36,7 +38,7 @@ jobs:
3638
- name: Install Syft
3739
run: |
3840
# Install Syft
39-
wget --no-verbose https://raw.githubusercontent.com/anchore/syft/main/install.sh -O - | sh -s -- -b /usr/local/bin
41+
wget --no-verbose https://raw.githubusercontent.com/anchore/syft/c43f4fb416c34c1c4b3997373689d8d4c0fb9b36/install.sh -O - | sh -s -- -b /usr/local/bin
4042
4143
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
4244
with:

.github/workflows/docs_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: ["main"]
77
paths: ["docs/**"]
8+
9+
permissions: {}
10+
811
jobs:
912
docs_build_and_test:
1013
name: Documentation Build and Test

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
cosign_pass:
1515
required: true
1616

17+
permissions: {}
18+
1719
jobs:
1820
# This reusable workflow inspects if the given workflow_name exists on Chainloop. If the Workflow does not exist
1921
# it will create one with an empty contract ready for operators to be filled. Otherwise, if found, it will just

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
persist-credentials: false
4848

4949
- name: "Run analysis"
50-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
50+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.3.1
5151
with:
5252
results_file: results.sarif
5353
results_format: sarif

0 commit comments

Comments
 (0)