Skip to content

Commit 84abd9f

Browse files
authored
ci: openSSF scorecard fixes, fix build-wheel (#4149)
Signed-off-by: Terri Oda <[email protected]>
1 parent 1c1f3dc commit 84abd9f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build-wheel.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build pip wheel
22

3+
permissions: read-all
4+
35
on:
46
push:
57
branches: [ "main" ]
@@ -17,7 +19,7 @@ on:
1719
matrix:
1820
python-version:
1921
- "3.12"
20-
if: github.repository == 'intel/cve-bin-tool' && github.ref == 'refs/heads/main' # run on origin repo only
22+
if: github.repository == 'intel/cve-bin-tool' # run on origin repo only
2123
steps:
2224
- name: Harden Runner
2325
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1

.github/workflows/testing.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Testing
22

3+
permissions: read-all
4+
35
on:
46
push:
57
pull_request:

0 commit comments

Comments
 (0)