forked from tensorflow/tflite-micro
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 924 Bytes
/
run_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Run-CI
# This is the entry point for ci.yml for scheduled and workflow_dispatch events.
on:
schedule:
# 10am UTC is 3am or 4am PT depending on daylight savings.
- cron: '0 10 * * *'
# Allow manually triggering of the workflow.
workflow_dispatch: {}
jobs:
call-ci:
uses: ./.github/workflows/ci.yml
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro')
with:
trigger-sha: ${{ github.sha }}
issue-on-error:
needs: [call-ci]
if: ${{ always() && contains(needs.*.result, 'failure') }}
uses: ./.github/workflows/issue_on_error.yml
with:
repo: ${{ github.repository }}
workflow: ${{ github.workflow }}
run_id: ${{ github.run_id }}
run_number: ${{ github.run_number }}
flag_label: ci:bot_issue
secrets:
token: ${{ secrets.GITHUB_TOKEN }}