mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: use immutable sha for checkout
Change to immutable SHA for checkout reference.
This commit is contained in:
committed by
Andrew Scott
parent
33b001d478
commit
6e1e9766a5
@@ -34,7 +34,7 @@ jobs:
|
||||
repository: ${{steps.comment-branch.outputs.head_owner}}/${{steps.comment-branch.outputs.head_repo}}
|
||||
# Checkout the pull request and assume it being trusted given we've checked
|
||||
# that the action was triggered by a team member.
|
||||
ref: ${{steps.comment-branch.outputs.head_ref}}
|
||||
ref: ${{steps.comment-branch.outputs.head_sha}}
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user