We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7306d0 commit 4251d94Copy full SHA for 4251d94
1 file changed
.github/workflows/o2-linter.yml
@@ -2,7 +2,7 @@
2
# Find issues in O2 code
3
name: O2 linter
4
5
-"on": [pull_request_target, push]
+"on": [pull_request_target, pull_request, push]
6
permissions: {}
7
env:
8
BRANCH_MAIN: master
@@ -20,7 +20,7 @@ jobs:
20
steps:
21
- name: Set branches
22
run: |
23
- if [[ "${{ github.event_name }}" == "push" ]]; then
+ if [[ "${{ github.event_name }}" == "push" || "${{ github.event_name }}" == "pull_request" ]]; then
24
branch_head="${{ github.ref }}"
25
branch_base="origin/${{ env.BRANCH_MAIN }}"
26
else
0 commit comments