Skip to content

Commit

Permalink
Handle special case in 'createchangelog.yaml' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
og-mrk committed Jul 28, 2024
1 parent 6c5c869 commit 753d9f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/createchangelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,9 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add docs/changelog.md
git commit -m "Update changelog.md with all releases"
git push
echo "Event name: ${{ github.event_name }}"
if ['${{ github.event_name }}' = 'release']; then
git push --force
else
git push
fi

0 comments on commit 753d9f9

Please sign in to comment.