opatry / todoist-kt

Todoist REST API bindings for Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JUnit report annotation issue despite proper reporting

opatry opened this issue · comments

Describe the bug
When running CI jobs, the test reports are published thanks to Mike Penz's action-junit-report Github action.

Each time it's executed, the following annotation is reported:

Caution

❌ Failed to create checks using the provided token. (HttpError: Resource not accessible by integration)

Warning

⚠️ This usually indicates insufficient permissions. More details: mikepenz/action-junit-report#23

To Reproduce
Steps to reproduce the behavior:

  1. Any PR or main build running tests

Expected behavior
No annotation "❌ Failed to create checks using the provided token. (HttpError: Resource not accessible by integration)" is expected

Screenshots
action-junit-report

Need to add

permissions:
    contents: read
    checks: write
    id-token: write

Right after runs-on

im really sorry and thank you for all