Merge pull request #76 from DARC-e-V/fix/pytest-report-token

fix: update token usage for pytest report workflow
This commit is contained in:
Tim Grelka
2026-02-04 13:11:20 +01:00
committed by GitHub
+3 -2
View File
@@ -5,6 +5,7 @@ on:
types: [completed] types: [completed]
permissions: permissions:
checks: write checks: write
actions: read
jobs: jobs:
checks: checks:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -13,7 +14,7 @@ jobs:
uses: actions/download-artifact@v6 uses: actions/download-artifact@v6
with: with:
name: pytest-report name: pytest-report
github-token: ${{ secrets.GH_PAT }} github-token: ${{ github.token }}
run-id: ${{ github.event.workflow_run.id }} run-id: ${{ github.event.workflow_run.id }}
- name: Publish Test Report - name: Publish Test Report
uses: mikepenz/action-junit-report@v6 uses: mikepenz/action-junit-report@v6
@@ -21,4 +22,4 @@ jobs:
commit: ${{github.event.workflow_run.head_sha}} commit: ${{github.event.workflow_run.head_sha}}
report_paths: pytest.xml report_paths: pytest.xml
comment: true comment: true
pr_id: ${{ github.event.workflow_run.pull_requests[0].number }} pr_id: ${{ github.event.workflow_run.pull_requests[0].number }}