Skip to content

[internal] Collect workflow data #125

[internal] Collect workflow data

[internal] Collect workflow data #125

Workflow file for this run

name: "[internal] Collect workflow data"
on:
workflow_run:
workflows: # List workflow that we want to collect data for
- "On PR"
- "On push"
- "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 }}