fix(slack): Preserve progress across agent resumes #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: PR Risk Experiment | |
| on: | |
| pull_request_target: | |
| 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@f5126d7a979415ac5124b7c14919482b149382aa # 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 |