Skip to content

Commit 3283610

Browse files
authored
Merge pull request #698 from markus-wa/ci/v5-lint-base
ci: lint v5 changes against the PR base branch
2 parents a323370 + be46564 commit 3283610

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050

5151
- name: Lint Changed Code
5252
run: scripts/lint-changes.sh
53+
env:
54+
# lint against the PR's base branch, otherwise lint-changes.sh defaults to origin/master (v6)
55+
base_rev: origin/${{ github.base_ref || 'v5' }}
5356
continue-on-error: true
5457

5558
- name: Race Tests

0 commit comments

Comments
 (0)