We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6a98886 + 1ac24ee commit 931558bCopy full SHA for 931558b
.github/workflows/toc-tou.yml
@@ -48,11 +48,12 @@ jobs:
48
sleep 120
49
50
# SECURE: Gets exactly the code that was approved
51
- - name: Checkout PR (Secure)
+ - uses: actions/checkout@v4
52
+ with:
53
+ ref: ${{ github.event.pull_request.head.sha }}
54
+
55
+ - name: Show what we got
56
run: |
- gh pr checkout ${{ github.event.pull_request.number }} --commit ${{ github.event.pull_request.head.sha }}
-
- # Show what we got
57
echo "Commit we got:"
58
git rev-parse HEAD
59
echo "Content of README.md:"
0 commit comments