mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Merge pull request #139 from YunoHost-Apps/master-promotion
Upgrade master from testing
This commit is contained in:
commit
b063c289eb
2 changed files with 12 additions and 12 deletions
|
@ -1,26 +1,26 @@
|
||||||
name: Create testing promotion pull request
|
name: Create master promotion pull request
|
||||||
on:
|
on:
|
||||||
# Allow to manually trigger the workflow
|
# Allow to manually trigger the workflow
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# Run it when when someone pushes to master
|
# Run it when when someone pushes to testing
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- testing
|
||||||
jobs:
|
jobs:
|
||||||
testingPromotion:
|
masterPromotion:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: testing
|
ref: master
|
||||||
- name: Reset promotion branch
|
- name: Reset promotion branch
|
||||||
run: |
|
run: |
|
||||||
git fetch origin master:master
|
git fetch origin testing:testing
|
||||||
git reset --hard master
|
git reset --hard testing
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v5
|
||||||
with:
|
with:
|
||||||
branch: testing-promotion
|
branch: master-promotion
|
||||||
title: 'Upgrade testing from master'
|
title: 'Upgrade master from testing'
|
||||||
body: |
|
body: |
|
||||||
Upgrade testing from master
|
Upgrade master from testing
|
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -41,11 +41,11 @@ jobs:
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
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>'
|
committer: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
|
||||||
author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
|
author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
|
||||||
signoff: false
|
signoff: false
|
||||||
base: master
|
base: testing
|
||||||
branch: ci-auto-update-v${{ env.VERSION }}
|
branch: ci-auto-update-v${{ env.VERSION }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
title: 'Upgrade to version ${{ env.VERSION }}'
|
title: 'Upgrade to version ${{ env.VERSION }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue