[CI] No token in check_tflite_files.sh (#3425)

* Simply tflite

* Fix
This commit is contained in:
Esun Kim 2026-02-09 17:55:54 -08:00 committed by GitHub
parent 43b026a818
commit 71229c4dd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View file

@ -14,7 +14,7 @@ on:
type: string
secrets:
tflm-bot-token:
required: true
required: false
jobs:
check_tflite_files:
@ -30,5 +30,5 @@ jobs:
env:
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ inputs.pr-number }}
TFLM_BOT_TOKEN: ${{ secrets.tflm-bot-token }}
TFLM_BOT_TOKEN: ${{ secrets.tflm-bot-token || github.token }}
run: tensorflow/lite/micro/tools/ci_build/check_tflite_files.sh

View file

@ -69,15 +69,11 @@ jobs:
core.setOutput('scope', scope);
call-check-tflite-files:
needs: gatekeeper
if: needs.gatekeeper.outputs.scope != 'none'
uses: ./.github/workflows/check_tflite_files.yml
with:
trigger-sha: ${{ github.event.pull_request.head.sha }}
pr-number: ${{ github.event.pull_request.number }}
pr-body: ${{ github.event.pull_request.body }}
secrets:
tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }}
call-core:
needs: gatekeeper