-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ceefdc
commit 46cd642
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "[internal] Collect workflow data" | ||
|
||
on: | ||
workflow_run: | ||
workflows: # List workflow that we want to collect data for | ||
- "Build on macos-latest" | ||
- "Build and Test" | ||
types: | ||
- completed | ||
|
||
jobs: | ||
produce-cicd-data: | ||
runs-on: ubuntu-latest | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
steps: | ||
- name: Collect CI/CD data | ||
uses: tenstorrent/tt-github-actions/.github/actions/collect_data@main | ||
if: ${{ github.event_name == 'workflow_run' }} | ||
with: | ||
repository: ${{ github.repository }} | ||
run_id: ${{ github.event.workflow_run.id }} | ||
run_attempt: ${{ github.event.workflow_run.run_attempt }} | ||
# sftp_host: ${{ secrets.SFTP_CICD_WRITER_HOSTNAME }} | ||
# sftp_user: ${{ secrets.SFTP_CICD_WRITER_USERNAME }} | ||
# ssh-private-key: ${{ secrets.SFTP_CICD_WRITER_KEY }} |