Skip to content

fix: GitHub action write protected branch 5 #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Oct 2, 2023
5 changes: 2 additions & 3 deletions ci.cd/update_version_commit.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/usr/bin/env bash
env
git status
git diff
current_branch=`git branch --show-current`
git add -u
git config --local user.email "wai.phyo@jpl.nasa.gov"
git config --local user.name "wphyojpl"
git config --local user.name ${GITHUB_TRIGGERING_ACTOR}
git commit -m 'chore: update version + change log'
git push origin $current_branch
git push --force origin $current_branch