Skip to content

Commit

Permalink
ci(release): add changes stashing before and after pull (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
samikachai authored Dec 17, 2024
1 parent 4e690aa commit 3d72321
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b update-changelog
git stash || echo "No changes to stash"
git pull origin update-changelog --rebase
git stash pop || echo "No changes to apply"
git add --all
git commit -m "chore: update changelog for $GITHUB_REF"
git push origin update-changelog --force
Expand Down

0 comments on commit 3d72321

Please sign in to comment.