TEST: Cancel previous CI when PR or branch is pushed. #696
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
동일한 PR 혹은 브랜치에 새로 커밋이 Push 되었을 때, 이전에 CI가 돌아가는 중이었다면 이전 CI를 자동으로 취소합니다.
group
cancel-in-progress
값의 여부에 따라 이전 Github Action을 취소할 수 있습니다.github.workflow
name: CI
로 되어 있으므로,CI
값이 들어갑니다.github.event.pull_request.number
691
값이 들어갑니다.github.ref
master
값이 들어갑니다.1.13.5
라면1.13.5
값이 들어갑니다.cancel-in-progress: true