Skip to content

Skip OpenSSF Scorecard workflow on forks - #3047

Merged
antonwolfy merged 2 commits into
masterfrom
fix/skip-scorecard-on-forks
Aug 31, 2026
Merged

Skip OpenSSF Scorecard workflow on forks#3047
antonwolfy merged 2 commits into
masterfrom
fix/skip-scorecard-on-forks

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

The OpenSSF Scorecard workflow fails on forks with validating options: only default branch is supported, because Scorecard only runs against a repository's default branch and forks typically push to / have a different default branch than the upstream repo.

This PR adds a job-level guard so the analysis job is skipped in forks and only runs on the upstream repository.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.21.0 release milestone Aug 28, 2026
@antonwolfy antonwolfy self-assigned this Aug 28, 2026
@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev7=py314ha0e2e8e_5 ran successfully.
Passed: 1375
Failed: 0
Skipped: 7

@coveralls

coveralls commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

No base build to compare — fix/skip-scorecard-on-forks into master

@antonwolfy
antonwolfy merged commit 509abe2 into master Aug 31, 2026
119 of 126 checks passed
@antonwolfy
antonwolfy deleted the fix/skip-scorecard-on-forks branch August 31, 2026 11:23
github-actions Bot added a commit that referenced this pull request Aug 31, 2026
The OpenSSF Scorecard workflow fails on forks with `validating options:
only default branch is supported`, because Scorecard only runs against a
repository's default branch and forks typically push to / have a
different default branch than the upstream repo.

This PR adds a job-level guard so the analysis job is skipped in forks
and only runs on the upstream repository. 509abe2
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.

3 participants