Skip to content

Commit 21d35e4

Browse files
committed
Change message
1 parent d7ba67a commit 21d35e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/o2-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fi
3030
echo BRANCH_HEAD="$branch_head" >> "$GITHUB_ENV"
3131
echo BRANCH_BASE="$branch_base" >> "$GITHUB_ENV"
32-
echo "This is the base branch."
32+
echo "This is the head branch."
3333
- name: Checkout Code
3434
uses: actions/checkout@v6
3535
with:
@@ -39,7 +39,7 @@ jobs:
3939
id: linter
4040
run: |
4141
echo "$(git log -n 1 --pretty='format:%ci %h %s %d') $(git rev-parse --abbrev-ref HEAD)"
42-
echo "This is the base branch."
42+
echo "This is the head branch."
4343
# Diff against the common ancestor of the source (head) branch and the target (base) branch.
4444
echo "Diffing ${{ env.BRANCH_HEAD }} against ${{ env.BRANCH_BASE }}."
4545
readarray -t files < <(git diff --diff-filter d --name-only ${{ env.BRANCH_BASE }}...)

Scripts/o2_linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ def main():
16881688
n_files_bad = dict.fromkeys(test_names, 0) # counter of files with issues
16891689

16901690
# Report overview before running.
1691-
print("This linter belongs in the base branch.")
1691+
print("This linter belongs in the head branch.")
16921692
print(f"Testing {len(args.paths)} files.")
16931693
# print(args.paths)
16941694
print("Enabled tests:", test_names)

0 commit comments

Comments
 (0)