Skip to content

Commit

Permalink
Merge pull request #14 from jpb06/ci/updating-latest-branch
Browse files Browse the repository at this point in the history
CI: Adding an action to update the latest branch whenever a publish occurs
  • Loading branch information
jpb06 authored Sep 28, 2021
2 parents dba7846 + c2b61e3 commit 5341135
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- master
jobs:
install:
bump-package:
name: Install dependencies
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
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

0 comments on commit 5341135

Please sign in to comment.