[Portal] Docs: Winston/cnct 2314 consolidate documentation for in app wallets and ecosystem #1102
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: Check for linked issue in pull request body | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| jobs: | |
| check_linear_in_pr_body: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check for linked issue in pull request body | |
| run: | | |
| pr_body=$(curl -s \ | |
| -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | |
| https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.number }} | jq -r .body) | |
| echo "Pull Request Body: $pr_body" | |
| if echo "$pr_body" | grep -iE "CNCT|DASH|BLOCK"; then | |
| echo "Linked issue found in the pull request body." | |
| else | |
| echo "No linked issue found in the pull request body." | |
| exit 1 | |
| fi |