Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ramueSVA authored Mar 25, 2024
1 parent 53067c3 commit 40d2088
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ jobs:
run: |
PR_URL=`gh pr create -B develop --title "Merge release branch '${RELEASE_VERSION}' back to develop" --body "Merge release branch '${RELEASE_VERSION}' back to develop"`
echo $PR_URL
# gh pr merge --auto --delete-branch --squash $PR_URL
release:
needs: read_version
Expand Down Expand Up @@ -114,13 +113,3 @@ jobs:
run: |
PR_URL=`gh pr create -B main --title "Merge release branch '${RELEASE_VERSION}'" --body "Merge release branch '${RELEASE_VERSION}'"`
echo $PR_URL
# gh pr merge --auto --delete-branch --squash $PR_URL

# wrong_branch:
# if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/release*'
#
# runs-on: ubuntu-latest
#
# steps:
# - name: ERROR
# run: echo 'This workflow only runs on develop branch!'

0 comments on commit 40d2088

Please sign in to comment.