Serve bundled agent-canvas frontend from agent-server #369
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: PR Description Check | |
| # Use pull_request_target so fork PR descriptions can be checked, but only run | |
| # trusted validation code from the base branch checkout below. | |
| on: | |
| pull_request_target: | |
| types: [opened, edited, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| validate-pr-description: | |
| name: Validate PR description | |
| # Draft PRs may still have incomplete descriptions; validate when review starts. | |
| # Release PRs are generated by the trusted prepare-release workflow without | |
| # the standard human-authored PR template. | |
| if: >- | |
| github.event.pull_request.draft == false && | |
| !(github.event.pull_request.head.repo.full_name == github.repository && | |
| startsWith(github.event.pull_request.head.ref, 'rel-')) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout trusted workflow scripts | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.base.sha }} | |
| - name: Validate HUMAN note and PR template | |
| run: python .github/scripts/check_pr_description.py |