Skip to content

Commit f8cfd58

Browse files
committed
edge case for no spec change
1 parent b2c6249 commit f8cfd58

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/check-package-gate.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
- name: Check each spec
4444
run: |
4545
46+
if [[ -z "${{ env.updated-specs }}" ]]; then
47+
echo "No spec files to validate. Exiting."
48+
exit 0
49+
fi
50+
4651
for spec in ${{ env.updated-specs }}
4752
do
4853
echo "Checking '$spec'."

0 commit comments

Comments
 (0)