Skip to content

ci: add workflow_dispatch trigger to OpenSSF Scorecard workflow#114

Merged
timpugh merged 1 commit into
mainfrom
ci/scorecard-workflow-dispatch
Jul 7, 2026
Merged

ci: add workflow_dispatch trigger to OpenSSF Scorecard workflow#114
timpugh merged 1 commit into
mainfrom
ci/scorecard-workflow-dispatch

Conversation

@timpugh

@timpugh timpugh commented Jul 7, 2026

Copy link
Copy Markdown
Owner

What

Adds a workflow_dispatch: trigger to .github/workflows/scorecard.yml.

Why

The Scorecard scan previously only ran on push to main, weekly cron (Mon 09:45 UTC), and branch-protection changes — with no way to trigger it on demand. That matters for time-based checks: the Maintained check scores 0 for repos younger than 90 days, so after the repo crosses 90 days the published score stays stale until the next scheduled scan (and GITHUB_TOKEN-driven auto-merges to main don't cascade into the push workflow, so PR merges don't refresh it either).

With this, the scan can be re-run anytime via gh workflow run scorecard.yml or the Actions UI.

Scope

CI workflow YAML only — no Python, infrastructure, dependency, or API-surface changes. Validated with the file-scoped pre-commit hooks (check-yaml et al. pass); the code-surface gates (tests, cdk-synth, OpenAPI, lockfile) are not applicable.

Lets the Scorecard scan be re-run on demand (gh workflow run scorecard.yml
or the Actions UI) instead of waiting for the next push to main or the
weekly cron. Useful for refreshing the published score after a posture
change or once the repo ages past a time-based check such as Maintained,
which scores 0 for repos younger than 90 days.
@timpugh timpugh enabled auto-merge (squash) July 7, 2026 16:27
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

🏗️ CDK infra diff — PR vs main

No CloudFormation template changes.

@timpugh timpugh merged commit 1b7501f into main Jul 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant