Skip to content

Commit 0115b8e

Browse files
authored
Merge pull request #45 from HumairAK/fix_commit_checker
UPSTREAM: <carry>: fix commit-checker gh workflow syntax
2 parents 2bc028c + abb28bd commit 0115b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/commit-check-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: |
7070
master_commit=$(cat .git/refs/remotes/origin/master)
7171
echo "master_commit_hash=$master_commit" >> $GITHUB_OUTPUT
72-
last_commit=$(cat .git/refs/remotes/pull/${{ PR_NUMBER }}/merge)
72+
last_commit=$(cat .git/refs/remotes/pull/${{ env.PR_NUMBER }}/merge)
7373
echo "last_commit_hash=$last_commit" >> $GITHUB_OUTPUT
7474
- name: Run Commit Checker
7575
shell: bash
@@ -88,4 +88,4 @@ jobs:
8888
$(podman run -q -v ${{ github.workspace }}:/src/app-root quay.io/rmartine/commitchecker:latest --start ${{ steps.get-commits.outputs.master_commit_hash }} --end ${{ steps.get-commits.outputs.last_commit_hash }})
8989
EOF
9090
91-
gh pr comment ${{ PR_NUMBER }} --body-file /tmp/body-file.txt
91+
gh pr comment ${{ env.PR_NUMBER }} --body-file /tmp/body-file.txt

0 commit comments

Comments
 (0)