Skip to content

Commit 931558b

Browse files
Merge pull request #224 from step-security/varunsh-coder-patch-18
Update toc-tou.yml
2 parents 6a98886 + 1ac24ee commit 931558b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/toc-tou.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ jobs:
4848
sleep 120
4949
5050
# SECURE: Gets exactly the code that was approved
51-
- name: Checkout PR (Secure)
51+
- uses: actions/checkout@v4
52+
with:
53+
ref: ${{ github.event.pull_request.head.sha }}
54+
55+
- name: Show what we got
5256
run: |
53-
gh pr checkout ${{ github.event.pull_request.number }} --commit ${{ github.event.pull_request.head.sha }}
54-
55-
# Show what we got
5657
echo "Commit we got:"
5758
git rev-parse HEAD
5859
echo "Content of README.md:"

0 commit comments

Comments
 (0)