Skip to content

Commit bea0a0d

Browse files
committed
added workflow Report Workflow Stats
1 parent 11c8c93 commit bea0a0d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Report Workflow Stats
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- Handle `approved-for-ci-run` label
7+
- PR format verification
8+
- build-images
9+
- build-test-vm
10+
- check-cluster-autoscaler-builds
11+
- e2e-test
12+
- lints
13+
- release
14+
- test
15+
- vm-example
16+
- vm-kernel
17+
types: [completed]
18+
19+
jobs:
20+
gh-workflow-stats:
21+
name: Github Workflow Stats
22+
runs-on: ubuntu-22.04
23+
permissions:
24+
actions: read
25+
steps:
26+
- name: Export GH Workflow Stats
27+
uses: fedordikarev/[email protected]
28+
with:
29+
DB_URI: ${{ secrets.GH_REPORT_STATS_DB_RW_CONNSTR }}
30+
DB_TABLE: 'gh_workflow_stats_autoscaling'
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GH_RUN_ID: ${{ github.event.workflow_run.id }}

0 commit comments

Comments
 (0)