Skip to content

Commit

Permalink
fix GHA wf: only extract commit subject
Browse files Browse the repository at this point in the history
* this message/note tests if it worked
  • Loading branch information
CeresBarros committed May 24, 2024
1 parent 7e90bf6 commit e126caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
id: getmsg
run: |
# Get your last commit message, not the merge commit.
msg=$(git log -1 --no-merges --pretty=%B)
echo "msg=$(git log -1 --no-merges --pretty=%B)" >> "$GITHUB_OUTPUT"
msg=$(git log -1 --no-merges --pretty=%s)
echo "msg=$(git log -1 --no-merges --pretty=%s)" >> "$GITHUB_OUTPUT"
echo "commit message: $msg"
R-CMD-check:
Expand Down

0 comments on commit e126caf

Please sign in to comment.