Skip to content

ci: use tags for immutable github actions #775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025
Merged

ci: use tags for immutable github actions #775

merged 1 commit into from
Jun 16, 2025

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jun 16, 2025

Most first party actions now use https://github.com/actions/publish-immutable-action, which negates the need for commit hashes

Comment on lines +20 to +26
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{github.event.pull_request.head.sha}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- uses: actions/setup-node@v4

Check warning

Code scanning / CodeQL

Checkout of untrusted code in trusted context Medium

Potential unsafe checkout of untrusted pull request on privileged workflow.

Copilot Autofix

AI 2 months ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

@Fdawgs Fdawgs merged commit 84e7b6c into main Jun 16, 2025
17 checks passed
@Fdawgs Fdawgs deleted the ci/actions branch June 16, 2025 04:54
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