Skip to content

Commit 307cd9b

Browse files
committed
Fix reusable workflow configuration
- Add workflow_call trigger to check-version.yml, lint.yml, and test.yml - Enable these workflows to be called by ci.yml as reusable workflows - Resolve GitHub Actions workflow validation error
1 parent ec01f9b commit 307cd9b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/check-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- 'sync-ssh-keys.sh'
99
- 'users.conf'
1010
- '.github/workflows/check-version.yml'
11+
workflow_call:
1112

1213
jobs:
1314
check-version:

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- 'sync-ssh-keys.sh'
1616
- 'users.conf'
1717
- '.github/workflows/lint.yml'
18+
workflow_call:
1819

1920
jobs:
2021
shellcheck:

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
- 'sync-ssh-keys.sh'
1919
- 'users.conf'
2020
- '.github/workflows/test.yml'
21+
workflow_call:
2122

2223
jobs:
2324
test:

0 commit comments

Comments
 (0)