Skip to content

Commit 510217f

Browse files
authored
workflows: handle when GITHUB_OUTPUT is empty (#214)
1 parent 193ecf9 commit 510217f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/check-vulns.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
5959
create-issues:
6060
needs: check-vulns
61-
if: ${{ always() }}
61+
if: ${{ always() && needs.check-vulns.outputs.matrix != '' }}
6262
runs-on: ubuntu-latest
6363
strategy:
6464
matrix: ${{ fromJson(needs.check-vulns.outputs.matrix) }}

.github/workflows/daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
check-vulns:
2222
name: Check vulnerabilities on ${{ matrix.nodejsStream }}
2323
needs: get-supported-versions
24+
if: ${{ needs.get-supported-versions.outputs.matrix != '' }}
2425
secrets: inherit
2526
strategy:
2627
fail-fast: false

0 commit comments

Comments
 (0)