Skip to content

Issue 1431: Disable custom procedure check by default #237

Issue 1431: Disable custom procedure check by default

Issue 1431: Disable custom procedure check by default #237

name: APOC Auto Cherry Picking
on:
pull_request_target:
types: [closed]
branches:
- '4.2'
jobs:
cherry-pick:
strategy:
fail-fast: false
matrix:
target-branch: [
{name: '4.1', comment: '824917901'},
{name: '4.3', comment: '824917996'}
]
runs-on: ubuntu-latest
name: cherry-pick
if: github.event.pull_request.merged == true
steps:
- name: checkout
uses: actions/checkout@v1
- name: Create PR to branch ${{ matrix.target-branch.name }}
uses: conker84/github-action-cherry-pick@0.1.1
with:
pr_branch: ${{ matrix.target-branch.name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITBOT_EMAIL: <BOT_EMAIL>
DRY_RUN: false
- name: Add commit-id to comment in case the previous step fails
uses: peter-evans/create-or-update-comment@v1.4.4
if: ${{ failure() }}
with:
comment-id: ${{ matrix.target-branch.comment }}
body: |
- `git cherry-pick ${{ github.sha }}`