Skip to content

Commit 6f14608

Browse files
author
Di Wu
authored
ci: add required identifier field for workflow_call (#3166)
1 parent b9359ad commit 6f14608

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

.github/workflows/deploy_package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
unit-tests:
1717
name: Run Plugins Unit Tests
1818
uses: ./.github/workflows/unit_test.yml
19+
with:
20+
identifier: 'workflow-call-unit-test'
1921

2022
fortify:
2123
name: Run Fortify Scan
2224
uses: ./.github/workflows/fortify_scan.yml
2325
secrets: inherit
26+
with:
27+
identifier: 'workflow-call-fortify'
2428

2529
release:
2630
environment: Release

.github/workflows/fortify_scan.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Fortify Scan
22
on:
33
workflow_dispatch:
44
workflow_call:
5+
inputs:
6+
identifier:
7+
required: true
8+
type: string
9+
510
push:
611
branches-ignore:
712
- main

.github/workflows/integ_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Integration Tests
22
on:
33
workflow_dispatch:
44
workflow_call:
5+
inputs:
6+
identifier:
7+
required: true
8+
type: string
9+
510
push:
611
branches: [main]
712

.github/workflows/unit_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Unit Tests | All
22
on:
33
workflow_call:
4+
inputs:
5+
identifier:
6+
required: true
7+
type: string
8+
49
workflow_dispatch:
510
push:
611
branches-ignore:

0 commit comments

Comments
 (0)