2023-10-01 19:01:43 +02:00
|
|
|
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
|
2023-10-01 20:41:07 +02:00
|
|
|
title: 'Upgrade testing from master'
|
|
|
|
body: |
|
|
|
|
Upgrade testing from master
|