We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba4ea77 commit 5d95220Copy full SHA for 5d95220
1 file changed
.github/workflows/linting-php.yml
@@ -4,7 +4,15 @@ name: Linting PHP
4
on:
5
- push
6
- pull_request
7
+ # Allow manually triggering the workflow.
8
+ - workflow_dispatch
9
10
+# Cancels all previous workflow runs for the same branch that have not yet completed.
11
+concurrency:
12
+ # The concurrency group contains the workflow name and the branch name.
13
+ group: ${{ github.workflow }}-${{ github.ref }}
14
+ cancel-in-progress: true
15
+
16
jobs:
17
lint-php:
18
runs-on: ubuntu-20.04
0 commit comments