Skip to content

Commit 8561b47

Browse files
authored
Run collect data when demo tests dispatched by nightly (#882)
### Problem Don't trigger produce data job in demo tests if they were triggered by the nightly release process. Similar to what was already done for perf tests in #879. ### Solution Use the filter to check if produce data should be triggered.
1 parent b931f9f commit 8561b47

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/demo-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,17 @@ jobs:
184184
produce-data:
185185
needs:
186186
- fail-send-msg
187-
if: always()
187+
if: ${{ always() && inputs.parent_run_id != '' }}
188188
runs-on: ubuntu-latest
189189
steps:
190190
- name: checkout repository
191191
uses: actions/checkout@v4
192+
with:
193+
repository: 'tenstorrent/tt-forge'
194+
fetch-depth: 1
195+
ref: ${{ inputs.ref || github.ref }}
196+
submodules: 'recursive'
197+
192198
- name: Trigger produce_data.yml
193199
uses: ./.github/actions/trigger-workflow
194200
env:

0 commit comments

Comments
 (0)