Skip to content

Commit

Permalink
Merge pull request #65 from FlowFuse/fix-helm-deploy-last-commit
Browse files Browse the repository at this point in the history
fix: handle properly last commit message within `deploy_helm_chart` workflow
  • Loading branch information
hardillb authored Jul 15, 2024
2 parents f3b4917 + 76a9743 commit 5e1c020
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_helm_chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ jobs:
id: last_commit_msg
run: |
git fetch --depth=1 origin main
echo "LAST_COMMIT_MSG=$(git log --format=%B -n 1 FETCH_HEAD)" >> $GITHUB_ENV
LAST_COMMIT_MSG=$(git log --format=%B -n 1 FETCH_HEAD | sed 's/`//g' | sed 's/"//g' | tr '\n' ' ')
echo "LAST_COMMIT_MSG=$LAST_COMMIT_MSG" >> $GITHUB_ENV
- name: Send notification
uses: slackapi/[email protected]
Expand Down

0 comments on commit 5e1c020

Please sign in to comment.