Added allow-unsafe-pr-checkout: true (#3615)

This commit is contained in:
Esun Kim 2026-07-01 13:59:22 -07:00 committed by GitHub
parent 5fa112687b
commit ca0b8b1308
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 23 additions and 0 deletions

View file

@ -41,6 +41,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- name: Install dependencies
run: |
pip3 install Pillow
@ -63,6 +64,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- name: Test
uses: docker://ghcr.io/tflm-bot/tflm-ci:0.6.7
with:
@ -84,6 +86,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- name: Install dependencies
run: |
pip3 install Pillow
@ -104,6 +107,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- name: Install dependencies
run: |
pip3 install Pillow
@ -123,6 +127,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- uses: actions/setup-python@v6
with:
python-version: '3.10'
@ -152,6 +157,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- uses: actions/setup-python@v6
with:
python-version: '3.10'

View file

@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Hexagon Build Test
env:

View file

@ -22,6 +22,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- name: Test
uses: docker://ghcr.io/tflm-bot/tflm-ci:0.6.7
with:

View file

@ -27,6 +27,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Vision P6 Build
env:
@ -46,6 +47,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Hifi5 Unit Tests
env:
@ -65,6 +67,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Hifi5 Unit Tests with Compression
env:
@ -84,6 +87,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Hifi3z Unit Tests
env:
@ -103,6 +107,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Hifi3z Unit Tests with Compression
env:
@ -124,6 +129,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Fusion F1 Unit Tests
env:
@ -143,6 +149,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Vision P6 Unit Tests
env:
@ -162,6 +169,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- run: rm -rf .git
- name: Hifimini Unit Tests
env:

View file

@ -34,6 +34,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha || github.ref }}
allow-unsafe-pr-checkout: true
- uses: bazel-contrib/setup-bazel@0.18.0
with:
bazelisk-cache: true

View file

@ -32,6 +32,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha || github.ref }}
allow-unsafe-pr-checkout: true
- name: Test
run: |
tensorflow/lite/micro/tools/ci_build/test_makefile.sh

View file

@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- name: Check
run: tensorflow/lite/micro/tools/ci_build/test_code_style.sh
@ -32,6 +33,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha || github.ref }}
allow-unsafe-pr-checkout: true
- uses: bazel-contrib/setup-bazel@0.18.0
with:
bazelisk-cache: true
@ -52,6 +54,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- uses: bazel-contrib/setup-bazel@0.18.0
with:
bazelisk-cache: true

View file

@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- uses: actions/setup-python@v6
with:
python-version: '3.13'
@ -54,6 +55,7 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.trigger-sha }}
allow-unsafe-pr-checkout: true
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64