Created
January 15, 2025 19:52
-
-
Save tschwaerzl/91800789d31fde690fd5ef719df95263 to your computer and use it in GitHub Desktop.
Cancel all old GitHub Actions runs that are stale after a new version of the Pull Request was uploaded
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
# GitHub Action Workflow | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
# Source: https://turso.tech/blog/simple-trick-to-save-environment-and-money-when-using-github-actions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment