Files
gstack/.github/workflows/scorecard.yml
T
Garry Tanandcapy-ai[bot] 586e51b10e Update marked, socks, ngrok, @types/bun and five CI actions to checked releases (#4873)
Updates four packages and five GitHub Actions to new releases, each
checked against its real publisher and pinned commit. Playwright 1.65.1
and Trunk's analytics-uploader 3.0.0 are left out: each needs more than
a version change.

This replaces Dependabot PRs #4838, #4757 and #4758, which failed CI or
dropped an install patch. Nothing for you to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-28 11:55:48 +00:00

53 lines
1.6 KiB
YAML

name: OpenSSF Scorecard
# Supply-chain posture report (#1997): pinned actions, token permissions,
# branch protection, dangerous workflow patterns. Results land in the
# Security tab as code-scanning alerts and are published to
# api.scorecard.dev for the badge.
#
# Publishing imposes rules this file must keep: no workflow-level env,
# defaults or write permissions; `id-token: write` only on the job that runs
# ossf/scorecard-action; that job uses only approved actions on a GitHub
# hosted Ubuntu runner, with no env, defaults, containers or `run:` steps.
# Scorecard does not support forks, so the job runs only in this repository.
on:
push:
branches: [main]
schedule:
- cron: '41 5 * * 2'
branch_protection_rule:
workflow_dispatch:
permissions: read-all
jobs:
analysis:
if: github.repository == 'garrytan/gstack'
runs-on: ubuntu-24.04
timeout-minutes: 15
permissions:
contents: read
actions: read
security-events: write
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: scorecard-sarif
path: results.sarif
retention-days: 5
- uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
with:
sarif_file: results.sarif