mirror of
https://github.com/tj-actions/pg-dump.git
synced 2024-12-20 01:18:49 +00:00
Updated .github/workflows/sync-release-version.yml
This commit is contained in:
parent
1f3f94b76f
commit
d6073aaf32
1 changed files with 12 additions and 10 deletions
22
.github/workflows/sync-release-version.yml
vendored
22
.github/workflows/sync-release-version.yml
vendored
|
@ -9,21 +9,23 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Sync release version.
|
||||||
|
uses: tj-actions/sync-release-version@v8
|
||||||
|
id: sync-release-version
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
pattern: '${{ github.repository }}@'
|
||||||
- name: Bumpversion release version
|
|
||||||
uses: tj-actions/bumpversion@v8.4
|
|
||||||
id: bumpversion
|
|
||||||
with:
|
|
||||||
pattern: 'tj-actions/pg-dump@'
|
|
||||||
paths: |
|
paths: |
|
||||||
README.md
|
README.md
|
||||||
|
- name: Generate CHANGELOG
|
||||||
|
uses: tj-actions/github-changelog-generator@v1.3
|
||||||
|
with:
|
||||||
|
output: 'HISTORY.md'
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
with:
|
with:
|
||||||
base: "main"
|
base: "main"
|
||||||
title: "Upgraded to ${{ steps.bumpversion.outputs.new_version }}"
|
title: "Upgraded to ${{ steps.sync-release-version.outputs.new_version }}"
|
||||||
branch: "upgrade-to-${{ steps.bumpversion.outputs.new_version }}"
|
branch: "upgrade-to-${{ steps.sync-release-version.outputs.new_version }}"
|
||||||
commit-message: "Upgraded from ${{ steps.bumpversion.outputs.old_version }} -> ${{ steps.bumpversion.outputs.new_version }}"
|
commit-message: "Upgraded from ${{ steps.sync-release-version.outputs.old_version }} -> ${{ steps.sync-release-version.outputs.new_version }}"
|
||||||
body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.bumpversion.outputs.old_version }}...${{ steps.bumpversion.outputs.new_version }})"
|
body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.sync-release-version.outputs.old_version }}...${{ steps.sync-release-version.outputs.new_version }})"
|
||||||
token: ${{ secrets.PAT_TOKEN }}
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue