Skip to content

Commit

Permalink
Fix GitHub actions 6 (#101)
Browse files Browse the repository at this point in the history
* Github action 12

* Github action 13

* Github action 14
  • Loading branch information
Berat-Dzhevdetov authored Sep 26, 2024
1 parent 8731c35 commit 642b49f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,12 @@ jobs:
uses: "pascalgn/automerge-action@v0.16.4"
id: automerge
with:
merge_method: rebase
MERGE_ERROR_FAIL: "true"
MERGE_DELETE_BRANCH: "true"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
PULL_REQUEST: ${{ steps.create_pr.outputs.pull-request-number }}

- name: Fail if not merged
if: ${{ steps.automerge.outputs.mergeResult != 'merged' }}
run: |
echo "Automerge failed"
exit 1
- name: Automerge Feedback
if: ${{ steps.automerge.outputs.mergeResult == 'merged' }}
run: |
echo "Pull request ${{ steps.automerge.outputs.pullRequestNumber }} merged successfully!"
# - name: Publish the NPM package
# run: npm publish --access public
# env:
Expand Down

0 comments on commit 642b49f

Please sign in to comment.