-
Notifications
You must be signed in to change notification settings - Fork 285
43 lines (39 loc) · 1.27 KB
/
update_private.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
34
35
36
37
38
39
40
41
42
43
name: Update private repo
on:
push:
paths:
- 'jupyter'
- 'software/**'
- 'tests/test_husky.py'
- '.github/workflows/update_private.yml'
jobs:
trigger_action:
name: Push dispatch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
- name: Check_husky_bs_changed
id: changed-husky
uses: tj-actions/[email protected]
with:
files: |
tests/test_husky.py
software/chipwhisperer/hardware/firmware/cwhusky.py
- uses: benc-uk/workflow-dispatch@v1
if: steps.changed-husky.outputs.any_changed == 'true'
with:
workflow: private_workflow
repo: newaetech/ChipWhisperer-Private-Tests
token: ${{ secrets.PRIVATE_TEST_PUSH }}
ref: refs/heads/main
inputs: '{ "full_husky_test": "true" }'
- uses: benc-uk/workflow-dispatch@v1
if: steps.changed-husky.outputs.any_changed != 'true'
with:
workflow: private_workflow
repo: newaetech/ChipWhisperer-Private-Tests
token: ${{ secrets.PRIVATE_TEST_PUSH }}
ref: refs/heads/main
inputs: '{ "full_husky_test": "false" }'