mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Add new workflow to update testing from master
This commit is contained in:
parent
5996096144
commit
a990e8cfcd
1 changed files with 23 additions and 0 deletions
23
.github/workflows/update_testing.yml
vendored
Normal file
23
.github/workflows/update_testing.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Create testing promotion pull request
|
||||||
|
on:
|
||||||
|
# Allow to manually trigger the workflow
|
||||||
|
workflow_dispatch:
|
||||||
|
# Run it when when someone pushes to master
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
testingPromotion:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: testing
|
||||||
|
- name: Reset promotion branch
|
||||||
|
run: |
|
||||||
|
git fetch origin master:master
|
||||||
|
git reset --hard master
|
||||||
|
- name: Create Pull Request
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
branch: testing-promotion
|
Loading…
Add table
Reference in a new issue