mirror of
https://github.com/YunoHost-Apps/zwiicms_ynh.git
synced 2024-09-03 18:06:04 +02:00
Update workflows
This commit is contained in:
parent
b4fd93d8f2
commit
aba45c2591
2 changed files with 27 additions and 0 deletions
26
.github/workflows/update_master.yml
vendored
Normal file
26
.github/workflows/update_master.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Create master promotion pull request
|
||||
on:
|
||||
# Allow to manually trigger the workflow
|
||||
workflow_dispatch:
|
||||
# Run it when when someone pushes to testing
|
||||
push:
|
||||
branches:
|
||||
- testing
|
||||
jobs:
|
||||
masterPromotion:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: master
|
||||
- name: Reset promotion branch
|
||||
run: |
|
||||
git fetch origin testing:testing
|
||||
git reset --hard testing
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
branch: master-promotion
|
||||
title: 'Upgrade master from testing'
|
||||
body: |
|
||||
Upgrade master from testing
|
1
.github/workflows/updater.yml
vendored
1
.github/workflows/updater.yml
vendored
|
@ -51,4 +51,5 @@ jobs:
|
|||
title: 'Upgrade to version ${{ env.VERSION }}'
|
||||
body: |
|
||||
Upgrade to v${{ env.VERSION }}
|
||||
[See upstream release page](https://forge.chapril.org/${{ env.REPO }}/releases/tag/v${{ env.VERSION }})
|
||||
draft: false
|
||||
|
|
Loading…
Reference in a new issue