feat: sdk | events for open/close explorer UI from the sdk scene #4666
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: Require Jarvis Review | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize, ready_for_review] | |
| jobs: | |
| set-pending: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| statuses: write | |
| steps: | |
| - name: Check PR type | |
| id: check-type | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const title = context.payload.pull_request.title || ''; | |
| const isAutoReview = /^(fix|chore)(\(.*?\))?!?:/i.test(title); | |
| core.setOutput('is-auto-review', isAutoReview.toString()); | |
| - name: Set pending status for feature PRs | |
| if: steps.check-type.outputs.is-auto-review == 'false' | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| await github.rest.repos.createCommitStatus({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| sha: context.payload.pull_request.head.sha, | |
| state: 'pending', | |
| context: 'Claude Review', | |
| description: 'Awaiting Jarvis review — auto-requested for team PRs, or request decentraland-bot' | |
| }); |