fix: handle EIP-1193 user rejection (code 4001) gracefully during wallet signing [0x954dB727f224dAabeA2A506C8aE92029b25339cE] #85
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Trigger Auto Merge Automation | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| permissions: | |
| contents: read | |
| jobs: | |
| trigger-auto-merge: | |
| name: Trigger central PR automation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger automation repo | |
| env: | |
| GH_TOKEN: ${{ secrets.AUTO_MERGE_TOKEN }} | |
| run: | | |
| gh api \ | |
| --method POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| /repos/Adamantine-guild/whitechain-pr-automation/dispatches \ | |
| -f event_type=whitechain-pr-opened \ | |
| -F client_payload[repo]="${{ github.repository }}" \ | |
| -F client_payload[pr_number]="${{ github.event.pull_request.number }}" |