1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwiicms_ynh.git synced 2024-09-03 18:06:04 +02:00
zwiicms_ynh/.github/workflows/update_master.yml

27 lines
696 B
YAML
Raw Permalink Normal View History

2023-10-10 21:09:34 +02:00
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:
2024-03-10 20:49:04 +01:00
- uses: actions/checkout@v4
2023-10-10 21:09:34 +02:00
with:
ref: master
- name: Reset promotion branch
run: |
git fetch origin testing:testing
git reset --hard testing
- name: Create Pull Request
2024-03-10 20:49:04 +01:00
uses: peter-evans/create-pull-request@v6
2023-10-10 21:09:34 +02:00
with:
branch: master-promotion
title: 'Upgrade master from testing'
body: |
Upgrade master from testing