Sitelet https://github.com/CiscoOpsStack/semantic-version/pull/1
Skip to content

OPSTK-16769: Gate test.yml to internal PRs + pin permissions - #1

Merged
coley-angel merged 1 commit into
masterfrom
winton/opstk-16732-finding-5
Jun 15, 2026
Merged

coley-angel merged 1 commit into
masterfrom
winton/opstk-16732-finding-5

Conversation

@coley-angel

Copy link
Copy Markdown

Summary

Security fix for OPSTK-16769 / OPSTK-16732 Finding 5.

Fork PRs could replace local action entrypoint via uses: ./ after checkout.

Changes

  • Add workflow-level permissions: contents: read
  • Gate test job: only run on push or internal PRs (not fork PRs)

Jira

  • OPSTK-16769
  • Parent: OPSTK-16732

Made with Cursor

Adds workflow-level contents:read and fork-PR gate on test job.

Related: OPSTK-16732 Finding 5
Co-authored-by: Cursor <cursoragent@cursor.com>
@coley-angel
coley-angel marked this pull request as ready for review June 15, 2026 14:59
@coley-angel
coley-angel merged commit edac39e into master Jun 15, 2026
5 checks passed
@coley-angel
coley-angel deleted the winton/opstk-16732-finding-5 branch June 15, 2026 14:59
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