mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-19 19:55:57 +00:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 8. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v8) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: Maintain Release Merge PR
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
update-release-pr:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Setup Git
|
|
run: |
|
|
git config user.name github-actions
|
|
git config user.email github-actions@github.com
|
|
- name: Check for existing PR
|
|
id: find-pr
|
|
uses: juliangruber/find-pull-request-action@v1
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: release
|
|
- uses: actions/checkout@v7
|
|
if: steps.find-pr.outputs.number == ''
|
|
with:
|
|
ref: release
|
|
- name: Reset release branch
|
|
if: steps.find-pr.outputs.number == ''
|
|
run: |
|
|
git fetch origin main:main
|
|
git reset --hard main
|
|
- name: Create/Update PR
|
|
if: steps.find-pr.outputs.number == ''
|
|
uses: peter-evans/create-pull-request@v8
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: Update release branch
|
|
title: Merge Release Auto-PR
|
|
body: Merging this PR will invoke release actions
|
|
branch: auto-update/release
|