-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jpb06/ci/updating-latest-branch
CI: Adding an action to update the latest branch whenever a publish occurs
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Coverage badges generation & version bump | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
update-latest: | ||
name: Rebase latest on master | ||
runs-on: ubuntu-latest | ||
needs: [bump-package] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Checkout latest | ||
run: git checkout latest | ||
- name: Rebase latest on master | ||
run: git merge master | ||
- name: Push latest | ||
run: git push origin latest |