Skip to content

Commit

Permalink
Merge pull request #45 from HumairAK/fix_commit_checker
Browse files Browse the repository at this point in the history
UPSTREAM: <carry>: fix commit-checker gh workflow syntax
  • Loading branch information
HumairAK authored May 28, 2024
2 parents 2bc028c + abb28bd commit 0115b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: |
master_commit=$(cat .git/refs/remotes/origin/master)
echo "master_commit_hash=$master_commit" >> $GITHUB_OUTPUT
last_commit=$(cat .git/refs/remotes/pull/${{ PR_NUMBER }}/merge)
last_commit=$(cat .git/refs/remotes/pull/${{ env.PR_NUMBER }}/merge)
echo "last_commit_hash=$last_commit" >> $GITHUB_OUTPUT
- name: Run Commit Checker
shell: bash
Expand All @@ -88,4 +88,4 @@ jobs:
$(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 }})
EOF
gh pr comment ${{ PR_NUMBER }} --body-file /tmp/body-file.txt
gh pr comment ${{ env.PR_NUMBER }} --body-file /tmp/body-file.txt

0 comments on commit 0115b8e

Please sign in to comment.