[action] Update automerge version, change log level and change auto cherry-pick branch name. (#12455)
This commit is contained in:
parent
010f9203f2
commit
357c1eaa1b
5
.github/workflows/automerge.yml
vendored
5
.github/workflows/automerge.yml
vendored
@ -13,12 +13,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: automerge
|
||||
uses: 'pascalgn/automerge-action@v0.13.1'
|
||||
with:
|
||||
args: "--trace"
|
||||
uses: 'pascalgn/automerge-action@v0.15.5'
|
||||
env:
|
||||
GITHUB_TOKEN: '${{ secrets.TOKEN }}'
|
||||
MERGE_LABELS: 'automerge'
|
||||
MERGE_METHOD: 'squash'
|
||||
MERGE_FILTER_AUTHOR: 'mssonicbld'
|
||||
MERGE_DELETE_BRANCH: true
|
||||
LOG: "TRACE"
|
||||
|
4
.github/workflows/pr_cherrypick_prestep.yml
vendored
4
.github/workflows/pr_cherrypick_prestep.yml
vendored
@ -104,8 +104,8 @@ jobs:
|
||||
echo 'Add commnet "@${author} PR conflicts with $branch branch"'
|
||||
else
|
||||
# Create PR to release branch
|
||||
git push mssonicbld HEAD:$branch-${pr_id} -f
|
||||
result=$(gh pr create -R ${repository} -H mssonicbld:$branch-${pr_id} -B $branch -t "[action] [PR:$pr_id] $title" -b '' 2>&1)
|
||||
git push mssonicbld HEAD:cherry/$branch/${pr_id} -f
|
||||
result=$(gh pr create -R ${repository} -H mssonicbld:cherry/$branch/${pr_id} -B $branch -t "[action] [PR:$pr_id] $title" -b '' 2>&1)
|
||||
echo $result | grep "already exists" && { echo $result; return 0; }
|
||||
echo $result | grep github.com || { echo $result; return 1; }
|
||||
new_pr_rul=$(echo $result | grep github.com)
|
||||
|
Loading…
Reference in New Issue
Block a user