Skip to content

Commit 0c14bdf

Browse files
authored
Fix #182 by explicitly checking out pull_request.head.sha (#184)
Similar to actions/checkout#518
1 parent 0d8cef7 commit 0c14bdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/xtensa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
name: Fusion F1 Unit Tests (presubmit)
3333
steps:
3434
- uses: actions/checkout@v2
35+
with:
36+
ref: ${{ github.event.pull_request.head.sha }}
3537
- run: |
3638
echo ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }} | docker login ghcr.io -u tflm-bot --password-stdin
3739
docker run --rm -v `pwd`:/opt/tflite-micro ghcr.io/tflm-bot/xtensa:latest /opt/tflite-micro/tensorflow/lite/micro/tools/ci_build/test_xtensa_fusion_f1.sh

0 commit comments

Comments
 (0)