bumper, Add local git rebase action in bumper gitAction Job
Currently, if we re-run a gitAction job, it is not rebased
to the most updated master.
Added a local rebase action to fix that.
@@ -13,6 +13,11 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
+ with:
+ ref: master
+
+ - name: Pull latest master
+ run: git pull --ff-only --rebase origin master
- name: Run bumper script
run: make ARGS="-config-path=components.yaml -token=${{ secrets.GITHUB_TOKEN }}" auto-bumper
