diff --git a/.github/workflows/test_report.yml b/.github/workflows/test_report.yml index 33119d6026226..c237501a22024 100644 --- a/.github/workflows/test_report.yml +++ b/.github/workflows/test_report.yml @@ -30,6 +30,7 @@ jobs: runs-on: ubuntu-latest permissions: actions: read + check: write contents: read steps: - name: Download test results to report @@ -37,9 +38,9 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} - pattern: "**/test-reports/*.xml" + pattern: "test-*" - name: Publish test report - uses: scacap/action-surefire-report@a2911bd1a4412ec18dde2d93b1758b3e56d2a880 # pin @v1.8.0 + uses: scacap/action-surefire-report@v1 with: check_name: Report test results github_token: ${{ secrets.GITHUB_TOKEN }}