1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Add new workflow

This commit is contained in:
ewilly 2023-10-01 18:57:39 +02:00
parent db53860738
commit 153d17c88d

23
.github/workflows/update_master.yml vendored Normal file
View file

@ -0,0 +1,23 @@
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