Skip to content

fix: scope scorecard permissions to the job, not the workflow - #8

Merged
Shinrai merged 1 commit into
nextfrom
fix/scorecard-job-scoped-permissions
Jul 19, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/scorecard-job-scoped-permissions

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix: scope scorecard permissions to the job, not the workflow (c243d3c)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

scorecard-action's publish step rejects submissions from a workflow
that grants its write permissions (id-token, previously
security-events) at the workflow level instead of job-scoped to the
job actually running the action - see CLDMV/.github's
reusable-scorecard.yml for the full explanation. Moves this repo's
permissions grant onto the analyze job, matching OSSF's own example
workflow and the updated caller template.
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files labels Jul 19, 2026
@Shinrai
Shinrai merged commit db387b7 into next Jul 19, 2026
24 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/scorecard-job-scoped-permissions branch July 19, 2026 15:54
Shinrai added a commit that referenced this pull request Oct 31, 2026
CodeQL js/polynomial-redos alerts #6, #7 and #8: copyrightHolder's trailing 'all rights reserved' and punctuation patterns and the new header's @copyright match let adjacent quantifiers compete for the same white space. copyrightHolder now uses anchored patterns and string operations, and the @copyright value is read with indexOf and trim. The modeline matcher had the same shape ([ \t]*(.*?)[ \t]* before an optional closer) and a 'set' prefix whose white space overlapped the options; it now captures the rest of the line and trims the closer with string operations, and takes one white space character after 'set'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant