#2330 add user access context #5307
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: Analyse test results | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| issue_comment: | |
| types: [created, edited] | |
| jobs: | |
| report_tests: | |
| runs-on: ubuntu-latest | |
| name: Analyse test results (PRs only) | |
| if: ${{ github.event.issue.pull_request }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Analyse test results | |
| shell: pwsh | |
| run: ./Scripts/TestFailureAnalysis.ps1 -CommentsUrl ${{ github.event.issue.comments_url }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| READ_LOGS_TOKEN: ${{ secrets.REPORT_FAILURES_PAT }} |