Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiaComito committed Aug 2, 2023
1 parent bbc1271 commit fc68531
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/merge-release-changes-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
branches:
- 'workflows/gh-action-merge-release-changes-into-main'
env:
starting_branch: ${{ github.ref }}
#starting_branch: ${{ github.ref }}
starting_branch: release/1.3.x
working_branch: workflows/merge-release-changes-to-main
base_branch: main
permissions:
Expand All @@ -17,15 +18,14 @@ jobs:
if: ${{ github.repository }} == 'hemlholtz-analytics/heat'
steps:
# make sure that new branch is created from starting_branch
- name: Delete working branch if it already exists
run: git push --delete origin ${{ env.working_branch }} || true
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: '${{ env.starting_branch }}'
- name: Delete working branch if it already exists
run: git push --delete origin ${{ env.working_branch }} || true
- name: Create working branch
run: |
git checkout ${{ env.starting_branch }}
git checkout -b ${{ env.working_branch }}
git push --set-upstream origin ${{ env.working_branch }}
- name: Create a pull request
Expand Down

0 comments on commit fc68531

Please sign in to comment.