Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 9 additions & 24 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,20 @@
# SPDX-License-Identifier: MPL-2.0
name: OSSF Scorecard
name: Scorecards supply-chain security

on:
push:
branches: [main, master]
branch_protection_rule:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:
- cron: '23 4 * * 1'
push:
branches: [main]

permissions:
contents: read
permissions: read-all

Check warning on line 11 in .github/workflows/scorecard.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_rattlescript&issues=AZ-GeqkFgqXhRVVUmWo7&open=AZ-GeqkFgqXhRVVUmWo7&pullRequest=52

jobs:
analysis:
runs-on: ubuntu-latest
timeout-minutes: 15
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@81dbf2dd854b1444fd6236fa2352474383b2c2b9
permissions:
contents: read
security-events: write
id-token: write
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Run Scorecard
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.3.1
with:
results_file: results.sarif
results_format: sarif

- name: Upload results
uses: github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v3.31.8
with:
sarif_file: results.sarif
secrets: inherit

Check warning on line 20 in .github/workflows/scorecard.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Only pass required secrets to this workflow.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_rattlescript&issues=AZ-GeqkFgqXhRVVUmWo6&open=AZ-GeqkFgqXhRVVUmWo6&pullRequest=52
Loading