Skip to content

Commit 5f31d9c

Browse files
committed
Add branch settings for pull_request
1 parent d7ba67a commit 5f31d9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/o2-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- name: Set branches
2222
run: |
23-
if [[ "${{ github.event_name }}" == "push" ]]; then
23+
if [[ "${{ github.event_name }}" == "push" || "${{ github.event_name }}" == "pull_request" ]]; then
2424
branch_head="${{ github.ref }}"
2525
branch_base="origin/${{ env.BRANCH_MAIN }}"
2626
else

0 commit comments

Comments
 (0)