feat: [Remote rendering 3.3b] fold per-part edge visibility into the global toggle #472
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 Linked Issue | |
| on: | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| jobs: | |
| check-issue-link: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| issues: read | |
| steps: | |
| - name: Check if PR is linked to an issue | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const prBody = context.payload.pull_request.body; | |
| const issueRegex = /(close[sd]?|fix(e[sd])?|resolve[sd]?|address(e[sd])?)\s+#\d+/i; | |
| if (!prBody || !issueRegex.test(prBody)) { | |
| core.setFailed("❌ Pull request must be linked to an issue."); | |
| shouldFail = true; | |
| } else { | |
| console.log("✅ Pull request is correctly linked to an issue."); | |
| } |