Skip to content

Commit

Permalink
Add a mechanism to stop scheduled runs for non stable
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox committed Nov 30, 2023
1 parent deb4b93 commit d91b5e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:

jobs:
test:
if: github.event_name != 'schedule' || github.repository == 'ylsideas/feature-flags'
if: (github.event_name != 'schedule' || github.repository == 'ylsideas/feature-flags') &&
!(matrix.dependencies != 'stable' && github.event_name == 'scheduled')
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down

0 comments on commit d91b5e4

Please sign in to comment.