diff --git a/Running-in-GitHub-Actions.md b/Running-in-GitHub-Actions.md index 973a4d6..30304f3 100644 --- a/Running-in-GitHub-Actions.md +++ b/Running-in-GitHub-Actions.md @@ -11,6 +11,9 @@ You can run PHPCS automatically whenever a new commit is pushed to your reposito name: PHPCS checks on: push +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: phpcs: name: PHPCS