File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ name: Lint and analyse files
33on :
44 push :
55 pull_request :
6+ types : [opened, synchronize, reopened]
67 branches :
7- # Branches from forks have the form 'user:branch-name' so we only run
8- # this job on pull_request events for branches that look like fork
9- # branches. Without this we would end up running this job twice for non
10- # forked PRs, once for the push and then once for opening the PR.
11- # Source: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/10
12- - ' **:**'
8+ # Branches from forks have the form 'user:branch-name' so we only run
9+ # this job on pull_request events for branches that look like fork
10+ # branches. Without this we would end up running this job twice for non
11+ # forked PRs, once for the push and then once for opening the PR.
12+ # Source: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/10
13+ - ' **:**'
1314
1415jobs :
1516 lint-php :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: lint php documentation
33on :
44 push :
55 pull_request :
6+ types : [opened, synchronize, reopened]
67 branches :
78 # Branches from forks have the form 'user:branch-name' so we only run
89 # this job on pull_request events for branches that look like fork
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Run tests
33on :
44 push :
55 pull_request :
6+ types : [opened, synchronize, reopened]
67 branches :
78 # Branches from forks have the form 'user:branch-name' so we only run
89 # this job on pull_request events for branches that look like fork
You can’t perform that action at this time.
0 commit comments