Fix wrong condition and add keep_db to stop signal #1308
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cancel | |
on: [push] | |
jobs: | |
cancel: | |
name: "Cancel Previous Build" | |
if: github.ref != 'refs/heads/master' | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: styfle/[email protected] | |
with: | |
workflow_id: ".github/workflows/release.yml,.github/workflows/coverage.yml" | |
all_but_latest: true | |
access_token: ${{ github.token }} |