-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tonye Jack
authored
Jul 31, 2020
1 parent
7183183
commit c2ceabd
Showing
1 changed file
with
35 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Push to GCR Github Action | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
update-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Bumpversion release version. | ||
uses: tj-actions/[email protected] | ||
id: bumpversion | ||
with: | ||
paths: | | ||
README.md | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: Update from ${{ steps.bumpversion.outputs.old_version }} -> ${{ steps.bumpversion.outputs.new_version }} | ||
committer: GitHub <[email protected]> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
branch: bump-to-${{ steps.bumpversion.outputs.new_version }} | ||
title: '[Upgrade] New Release ${{ steps.bumpversion.outputs.new_version }}' | ||
body: | | ||
Auto-generated by [create-pull-request][1] | ||
[1]: https://github.com/peter-evans/create-pull-request | ||
labels: | | ||
upgrade | ||
automated pr | ||
assignees: jackton1 | ||
reviewers: jackton1 | ||
draft: false |