Created
May 13, 2022 21:34
-
-
Save Jammyjamjamman/e8841c814c3e47651c09ea36c17d8f86 to your computer and use it in GitHub Desktop.
some snippets for github actions
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
# Cancel workflow if new workflow in same group is in progress. | |
# https://docs.github.com/en/enterprise-cloud@latest/actions/using-jobs/using-concurrency | |
name: Build | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
# allow only certain types of pull_request. | |
pull_request: | |
types: [ opened, reopened, synchronize ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment