Skip to content

build: pin actions/github-script to commit SHA in pull_request_target workflow#9094

Open
XananasX7 wants to merge 1 commit into
google:masterfrom
XananasX7:patch-2
Open

build: pin actions/github-script to commit SHA in pull_request_target workflow#9094
XananasX7 wants to merge 1 commit into
google:masterfrom
XananasX7:patch-2

Conversation

@XananasX7
Copy link
Copy Markdown

Pin actions/github-script to full commit SHA instead of mutable v8 tag
in the pr_test.yml workflow.

This workflow uses pull_request_target trigger with access to
secrets.TFLM_BOT_REPO_TOKEN. Pinning to SHA ensures immutability
and prevents supply chain attacks via tag manipulation.

Ref: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

@XananasX7 XananasX7 requested a review from dbaileychess as a code owner May 16, 2026 01:09
@github-actions github-actions Bot added the CI Continuous Integration label May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant