added support for batch calls using OPERATION_TYPE_ERC2771_FORWARD_CALL #1
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: XKCD Comic Relief | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| post-xkcd: | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| if: github.event.pull_request.merged == true | |
| steps: | |
| - name: Search relif | |
| id: search | |
| run: | | |
| xkcd_url=https://xkcd.com/${{ github.event.pull_request.number }} | |
| xkcd_img_url=$(curl -sL $xkcd_url | \ | |
| grep -oe '"https://imgs.xkcd.com/comics/[^"]\+"' | \ | |
| sed 's/"//g' | \ | |
| head -n1) | |
| echo "xkcd_url=$xkcd_url" >> "$GITHUB_OUTPUT" | |
| echo "xkcd_img_url=$xkcd_img_url" >> "$GITHUB_OUTPUT" | |
| - name: Create relif | |
| uses: peter-evans/create-or-update-comment@v2 | |
| with: | |
| issue-number: ${{ github.event.pull_request.number }} | |
| body: | | |
| ## XKCD Comic Relif | |
| Link: ${{ steps.search.outputs.xkcd_url }} | |
|  | |
| reactions: laugh |