Skip to content
Snippets Groups Projects
Commit 7601fb43 authored by Sergey Vorontsov's avatar Sergey Vorontsov
Browse files

ci: update tarantool submodule in tarantool-ee

Bump tarantool submodule in tarantool-ee via pull requests:

* tarantool@master -> tarantool-ee@TarantoolBot/update-tarantool-master
* tarantool@2.10 -> tarantool-ee@TarantoolBot/update-tarantool-2.10

If there is an open PR already, it will be updated every time when
a new commit is pushed to tarantool@master or tarantool@2.10.

NO_DOC=ci
NO_TEST=ci
NO_CHANGELOG=ci

Closes tarantool/tarantool-ee#175
parent 7c5651af
No related branches found
No related tags found
Loading
name: submodule_update
on:
push:
branches:
- 'master'
- '2.10'
jobs:
tarantool-ee:
runs-on: ubuntu-20.04-self-hosted
env:
SUBMODULE: 'tarantool'
REPOSITORY: 'tarantool/tarantool-ee'
FEATURE_BRANCH: 'TarantoolBot/update-tarantool-${{ github.ref_name }}'
CHECKOUT_BRANCH: ${{ github.ref_name }}
PR_AGAINST_BRANCH: ${{ github.ref_name }}
PR_TITLE_PREFIX: ${{ github.ref_name == 'master' && '' ||
format('[{0}] ', github.ref_name) }}
PR_TITLE: 'tarantool: bump to new version'
COMMIT_MESSAGE: |
tarantool: bump to new version
NO_DOC=submodule update
NO_TEST=submodule update
NO_CHANGELOG=submodule update
steps:
- name: Create PR with submodule update
uses: tarantool/actions/update-submodule@master
with:
github_token: ${{ secrets.EE_UPDATE_SUBMODULE_TOKEN }}
repository: ${{ env.REPOSITORY }}
submodule: ${{ env.SUBMODULE }}
checkout_branch: ${{ env.CHECKOUT_BRANCH }}
feature_branch: ${{ env.FEATURE_BRANCH }}
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
pr_title: ${{ env.PR_TITLE_PREFIX }}${{ env.PR_TITLE }}
commit_message: ${{ env.COMMIT_MESSAGE }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment