Skip to content

Commit

Permalink
Merge pull request intel#4617 from intel/sfblackl-intel-patch-1
Browse files Browse the repository at this point in the history
Update scorecard.yml
  • Loading branch information
sfblackl-intel authored Dec 11, 2024
2 parents 8f24131 + 7dd4aa6 commit d9ebc2b
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,14 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write

steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

- name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

Expand All @@ -38,10 +33,3 @@ jobs:
results_format: sarif
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

0 comments on commit d9ebc2b

Please sign in to comment.