Skip to content

Commit

Permalink
Collect workflow data
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Nov 22, 2024
1 parent 4ceefdc commit 46cd642
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/produce_data.yml
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 }}

0 comments on commit 46cd642

Please sign in to comment.