fix(cli): Validate regionUrl is absolute to prevent URL parsing errors #1082
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 Risk Experiment | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| concurrency: | |
| group: pr-risk-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| risk: | |
| name: Score PR risk | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - name: Score current PR | |
| uses: getsentry/pr-risk-action@v0 | |
| with: | |
| repo: ${{ github.repository }} | |
| pr-number: ${{ github.event.pull_request.number }} | |
| result-path: risk-pr-result.json | |
| skip-reviews: "true" | |
| apply-label: "true" | |
| - name: Upload risk result | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: risk-pr-result | |
| path: risk-pr-result.json |