Skip to content

Commit

Permalink
ci: openSSF scorecard fixes, fix build-wheel
Browse files Browse the repository at this point in the history
Signed-off-by: Terri Oda <terri.oda@intel.com>
  • Loading branch information
terriko committed May 30, 2024
1 parent 1c1f3dc commit 5e5f82d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-wheel.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Build pip wheel

permissions: read-all

on:
push:
branches: [ "main" ]
Expand All @@ -17,7 +19,7 @@ on:
matrix:
python-version:
- "3.12"
if: github.repository == 'intel/cve-bin-tool' && github.ref == 'refs/heads/main' # run on origin repo only
if: github.repository == 'intel/cve-bin-tool' # run on origin repo only
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Testing

permissions: read-all

on:
push:
pull_request:
Expand Down

0 comments on commit 5e5f82d

Please sign in to comment.