mirror of
https://github.com/YunoHost-Apps/immich_ynh.git
synced 2024-09-03 20:36:24 +02:00
27 lines
696 B
YAML
27 lines
696 B
YAML
|
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@v4
|
||
|
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@v6
|
||
|
with:
|
||
|
branch: master-promotion
|
||
|
title: 'Upgrade master from testing'
|
||
|
body: |
|
||
|
Upgrade master from testing
|