-
Notifications
You must be signed in to change notification settings - Fork 51
38 lines (34 loc) · 1.15 KB
/
release_master_dev_resync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
on:
release:
types:
[published]
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update version
run: |
# Get current version tag
echo "Version tag: $(git describe --tags)"
git describe --tags | cut -d 'v' -f 2 >> tests/functional/backward_compatibility/versions.txt
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
commit-message: 'Update backward comp test versions'
branch: ci/sync_master_back_to_dev
base: master
delete-branch: true
title: 'Merge back master in develop after release'
body: |
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: |
automated pr
assignees: bouthilx
reviewers: bouthilx
- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"