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

Update workflouw (see #130)

This commit is contained in:
ewilly 2023-10-03 21:07:17 +02:00
parent 4635839922
commit 2ce7669a2b
2 changed files with 12 additions and 12 deletions

View file

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

View file

@ -41,11 +41,11 @@ jobs:
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update master to version ${{ env.VERSION }}
commit-message: Update to version ${{ env.VERSION }}
committer: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
signoff: false
base: master
base: testing
branch: ci-auto-update-v${{ env.VERSION }}
delete-branch: true
title: 'Upgrade to version ${{ env.VERSION }}'