mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 06:00:21 +08:00
Update main.yml
This commit is contained in:
parent
e615c7ee7f
commit
ec31007c4b
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -20,6 +20,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: release
|
branch: release
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
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
|
- name: Create/Update PR
|
||||||
if: steps.find-pr.outputs.number == ''
|
if: steps.find-pr.outputs.number == ''
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
@ -27,11 +36,5 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: Update release branch
|
commit-message: Update release branch
|
||||||
title: Merge Release Auto-PR
|
title: Merge Release Auto-PR
|
||||||
body: Merging this PR will invoke release actions
|
body: Merging this PR will invoke release actions
|
||||||
|
|
||||||
# none of these are in docs; I'm just guessing
|
|
||||||
# because there MUST be a way to set this!
|
|
||||||
target: release
|
|
||||||
target-branch: release
|
|
||||||
|
|
||||||
branch: auto-update/release
|
branch: auto-update/release
|
||||||
|
Loading…
Reference in New Issue
Block a user