1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00
searxng_ynh/.github/workflows/update_master.yml

27 lines
696 B
YAML
Raw Normal View History

2023-10-03 21:07:17 +02:00
name: Create master promotion pull request
on:
# Allow to manually trigger the workflow
workflow_dispatch:
2023-10-03 21:07:17 +02:00
# Run it when when someone pushes to testing
push:
branches:
2023-10-03 21:07:17 +02:00
- testing
jobs:
2023-10-03 21:07:17 +02:00
masterPromotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
2023-10-03 21:07:17 +02:00
ref: master
- name: Reset promotion branch
run: |
2023-10-03 21:07:17 +02:00
git fetch origin testing:testing
git reset --hard testing
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
2023-10-03 21:07:17 +02:00
branch: master-promotion
title: 'Upgrade master from testing'
2023-10-01 20:41:07 +02:00
body: |
2023-10-03 21:07:17 +02:00
Upgrade master from testing