Skip to content

Commit

Permalink
Try adding example workflow names with square brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-rkim committed Jun 21, 2024
1 parent e70aba9 commit 92076b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/_produce-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
- "Build"
- "(post-commit) all - Static checks, linters etc."
- "All post-commit workflows"
- "[TG] TG model perf tests"
- "Model perf regressions and output report"
- "Device perf regressions and output report"
- "[T3K] T3000 model perf tests"
- "[TGG] TGG model perf tests"
types:
- completed

Expand All @@ -27,20 +32,20 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
echo "[Info] Workflow run attempt"
gh api /repos/${{ github.action_repository }}/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1
gh api /repos/${{ github.action_repository }}/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1 > workflow.json
gh api /repos/tt-rkim/gh-workflows-testing/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1
gh api /repos/tt-rkim/gh-workflows-testing/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1 > workflow.json
echo "[Info] Workflow run attempt jobs"
gh api --paginate /repos/${{ github.action_repository }}/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1/jobs
gh api --paginate /repos/${{ github.action_repository }}/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1/jobs > workflow_jobs.json
gh api --paginate /repos/tt-rkim/gh-workflows-testing/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1/jobs
gh api --paginate /repos/tt-rkim/gh-workflows-testing/actions/runs/${{ inputs.test_workflow_run_id }}/attempts/1/jobs > workflow_jobs.json
- name: Output auxiliary values (workflow_run completed)
if: ${{ github.event_name == 'workflow_run' }}
env:
GH_TOKEN: ${{ github.token }}
run: |
echo "[Info] Workflow run attempt"
gh api /repos/${{ github.action_repository }}/actions/runs/${{ github.event.workflow_run.id }}/attempts/${{ github.event.workflow_run.run_attempt }} > workflow.json
gh api /repos/tt-rkim/gh-workflows-testing/actions/runs/${{ github.event.workflow_run.id }}/attempts/${{ github.event.workflow_run.run_attempt }} > workflow.json
echo "[Info] Workflow run attempt jobs"
gh api --paginate /repos/${{ github.action_repository }}/actions/runs/${{ github.event.workflow_run.id }}/attempts/${{ github.event.workflow_run.run_attempt }}/jobs > workflow_jobs.json
gh api --paginate /repos/tt-rkim/gh-workflows-testing/actions/runs/${{ github.event.workflow_run.id }}/attempts/${{ github.event.workflow_run.run_attempt }}/jobs > workflow_jobs.json
- uses: actions/upload-artifact@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "(post-commit) all - Static checks, linters etc."
name: "[T3K] T3000 model perf tests"

on:
workflow_call:
Expand Down

0 comments on commit 92076b2

Please sign in to comment.