Skip to content

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

Open
XananasX7 wants to merge 1 commit into
tensorflow:mainfrom
XananasX7:patch-1
Open

build: pin actions/github-script to commit SHA in pull_request_target workflow#3559
XananasX7 wants to merge 1 commit into
tensorflow:mainfrom
XananasX7:patch-1

Conversation

@XananasX7
Copy link
Copy Markdown

@XananasX7 XananasX7 commented May 16, 2026

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 veblush as a code owner May 16, 2026 01:08
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