File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
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 }}...)
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments