We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd8e4d7 commit 5c0eb9cCopy full SHA for 5c0eb9c
.github/workflows/pull-request.yml
@@ -297,11 +297,14 @@ jobs:
297
- name: merge into base_branch
298
if: ${{ github.event_name == 'pull_request' }}
299
run: |
300
- echo base branch "${{ github.base_ref }}"
301
- echo pr branch "${{ github.head_ref }}"
302
- git checkout "${{ github.base_ref }}"
+ echo base branch "$BASE_BRANCH"
+ echo pr branch "$PR_BRANCH"
+ git checkout "$BASE_BRANCH"
303
git checkout -b "merging-${{ github.event.number }}"
304
git merge --ff-only "${{ github.event.pull_request.head.sha }}"
305
+ env:
306
+ BASE_BRANCH: ${{ github.base_ref }}
307
+ PR_BRANCH: ${{ github.head_ref }}
308
309
- name: setup python
310
uses: actions/setup-python@v5
0 commit comments