Skip to content

Commit

Permalink
fix: add needs: changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phorcys420 committed Aug 11, 2024
1 parent 54fe4b7 commit c4414dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- test/lib-github/**
test-autogenerated:
needs: changes
if: needs.changes.outputs.features != ''
runs-on: ubuntu-latest
continue-on-error: true
Expand All @@ -60,6 +61,7 @@ jobs:
run: devcontainer features test --skip-scenarios -f ${{ matrix.features }} -i ${{ matrix.baseImage }} .

test-scenarios:
needs: changes
if: needs.changes.outputs.features != ''
runs-on: ubuntu-latest
continue-on-error: true
Expand All @@ -76,6 +78,7 @@ jobs:
run: devcontainer features test -f ${{ matrix.features }} --skip-autogenerated --skip-duplicated .

test-global:
needs: changes
if: needs.changes.outputs.features != ''
runs-on: ubuntu-latest
continue-on-error: true
Expand Down

0 comments on commit c4414dd

Please sign in to comment.