From fb7b856dfab0e3a1d8d8c7ca5a2fa3f91ac9b05f Mon Sep 17 00:00:00 2001 From: kijultzy Date: Thu, 9 Jul 2026 19:32:10 +0700 Subject: [PATCH 1/2] feat: add PullPay GitHub Actions workflow for auto-settle on PR merge --- .github/workflows/pullpay.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pullpay.yml diff --git a/.github/workflows/pullpay.yml b/.github/workflows/pullpay.yml new file mode 100644 index 0000000..3728f11 --- /dev/null +++ b/.github/workflows/pullpay.yml @@ -0,0 +1,20 @@ +name: PullPay +on: + pull_request: + types: [closed] +jobs: + settle: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - name: Notify PullPay relayer + run: | + curl -X POST "https://pullpay-sigma.vercel.app/api/settle" \ + -H 'Content-Type: application/json' \ + -d '{ + "rewardId": "0x1093f1b02415eb5e847d51b0a80721bb5bb7df3f56dd22b7614d4287749de7b5", + "repo": "irham3/shunt", + "pr": ${{ github.event.pull_request.number }}, + "issue": 1, + "author": "${{ github.event.pull_request.user.login }}" + }' \ No newline at end of file From 7a2e7390993059ec68e8c9751012f2a275ca6fd0 Mon Sep 17 00:00:00 2001 From: kijultzy Date: Thu, 9 Jul 2026 19:42:51 +0700 Subject: [PATCH 2/2] fix: update rewardId, repo, and issue number for pullpay workflow --- .github/workflows/pullpay.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pullpay.yml b/.github/workflows/pullpay.yml index 3728f11..33910ee 100644 --- a/.github/workflows/pullpay.yml +++ b/.github/workflows/pullpay.yml @@ -12,9 +12,9 @@ jobs: curl -X POST "https://pullpay-sigma.vercel.app/api/settle" \ -H 'Content-Type: application/json' \ -d '{ - "rewardId": "0x1093f1b02415eb5e847d51b0a80721bb5bb7df3f56dd22b7614d4287749de7b5", - "repo": "irham3/shunt", + "rewardId": "0x98c81d82cf019d196482e32a361f70d580c40fa9f4408beb91ba8b737c7717aa", + "repo": "irham3/pullpay", "pr": ${{ github.event.pull_request.number }}, - "issue": 1, + "issue": 2, "author": "${{ github.event.pull_request.user.login }}" }' \ No newline at end of file