Skip to content

Detect unpinned reusable workflows - #22285

Merged
michaelnebel merged 3 commits into
github:mainfrom
theinfosecguy:fix-actions-unpinned-reusable-workflows
Aug 13, 2026
Merged

Detect unpinned reusable workflows#22285
michaelnebel merged 3 commits into
github:mainfrom
theinfosecguy:fix-actions-unpinned-reusable-workflows

Conversation

@theinfosecguy

Copy link
Copy Markdown
Contributor

Fixes #21659.

Extends actions/unpinned-tag to check reusable workflow calls.

Tests cover mutable refs, pinned SHAs, trusted owners, and local workflows.

@github-actions github-actions Bot added documentation Actions Analysis of GitHub Actions labels Aug 5, 2026
@theinfosecguy
theinfosecguy marked this pull request as ready for review August 5, 2026 17:38
@theinfosecguy
theinfosecguy requested a review from a team as a code owner August 5, 2026 17:38
michaelnebel
michaelnebel previously approved these changes Aug 12, 2026

@michaelnebel michaelnebel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!
Added a couple of nit comments / questions.
Will start a DCA run as well.

Comment thread actions/ql/src/Security/CWE-829/UnpinnedActionsTag.ql Outdated
Comment thread actions/ql/src/Security/CWE-829/UnpinnedActionsTag.ql
@michaelnebel

Copy link
Copy Markdown
Contributor

DCA looks uneventful.

@michaelnebel michaelnebel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you very much for your contribution!
I will run DCA again and it doesn't show any problems, then we can merge.

@michaelnebel

Copy link
Copy Markdown
Contributor

DCA looks good. PR can be merged.

@michaelnebel
michaelnebel merged commit 78292f3 into github:main Aug 13, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Actions Analysis of GitHub Actions documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

actions/unpinned-tag does not flag unpinned reusable workflow calls (job-level uses:)

2 participants