Skip to content

Commit 2b7b28a

Browse files
authored
Update wrap_branch.yml
1 parent 8cb0307 commit 2b7b28a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/wrap_branch.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ jobs:
6262
git commit -m "Wrap translations"
6363
echo "WRAPPED=True" >> $GITHUB_ENV
6464
fi
65+
66+
# Base branch name
67+
- name: Get base branch name
68+
run: echo BASE_BRANCH=$(python -c "branch='refs/head/3.10/wrap'.split('/'); print(f'{branch[2]}/{branch[3]}') >> $GITHUB_ENV
69+
6570
# Create pull request
6671
- name: Create Pull Request
6772
id: cpr
@@ -72,7 +77,7 @@ jobs:
7277
committer: GitHub <noreply@github.com>
7378
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
7479
signoff: false
75-
branch: ${{ python -c "branch='refs/head/3.10/wrap'.split('/'); print(f'{branch[2]}/{branch[3]}')" }}
80+
branch: ${{ }}
7681
delete-branch: true
7782
title: 'Wrap branch: ${{ github.ref_name }}'
7883
body: |

0 commit comments

Comments
 (0)