We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9592fcf commit 2875b8eCopy full SHA for 2875b8e
1 file changed
.github/workflows/o2-linter.yml
@@ -29,7 +29,7 @@ jobs:
29
fi
30
echo BRANCH_HEAD="$branch_head" >> "$GITHUB_ENV"
31
echo BRANCH_BASE="$branch_base" >> "$GITHUB_ENV"
32
- echo "This is the base branch."
+ echo "This is the head branch."
33
- name: Checkout Code
34
uses: actions/checkout@v6
35
with:
@@ -39,8 +39,8 @@ jobs:
39
id: linter
40
run: |
41
echo "$(git log -n 1 --pretty='format:%ci %h %s %d') $(git rev-parse --abbrev-ref HEAD)"
42
43
git branch -r
44
# Diff against the common ancestor of the source (head) branch and the target (base) branch.
45
echo "Diffing ${{ env.BRANCH_HEAD }} against ${{ env.BRANCH_BASE }}."
46
readarray -t files < <(git diff --diff-filter d --name-only ${{ env.BRANCH_BASE }}...)
0 commit comments