Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 18, 2025

The checkstyle GitHub action fails with "Resource not accessible by integration" due to insufficient permissions on GITHUB_TOKEN.

Changes

  • Updated checkstyle action to use REPO_TOKEN instead of GITHUB_TOKEN in .github/workflows/main.yml

This aligns with the existing coverage report action which already uses REPO_TOKEN for the same permission requirements.

- name: Upload checkstyle report
  uses: jwgmeligmeyling/checkstyle-github-action@master
  with:
    path: '**/checkstyle-result.xml'
-   token: ${{ secrets.GITHUB_TOKEN }}
+   token: ${{ secrets.REPO_TOKEN }}
Original prompt

This section details on the original issue you should resolve

<issue_title>Fix checkstyle 'Error: HttpError: Resource not accessible by integration' error</issue_title>
<issue_description></issue_description>

<agent_instructions>You change token: ${{ secrets.GITHUB_TOKEN }} to ${{ secrets.REPO_TOKEN }}</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@feelform feelform self-requested a review November 18, 2025 01:50
@feelform feelform added this to the 1.4 milestone Nov 18, 2025
Copilot AI changed the title [WIP] Fix checkstyle HttpError resource not accessible Fix checkstyle action token to resolve integration permission error Nov 18, 2025
@feelform
Copy link
Collaborator

LCOV of commit 5bc558e during CI #1307

Summary coverage rate:
  lines......: 84.4% (3523 of 4175 lines)
  functions..: 82.3% (849 of 1032 functions)
  branches...: 70.6% (1117 of 1583 branches)

Files changed coverage rate: n/a

@feelform feelform closed this Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix checkstyle 'Error: HttpError: Resource not accessible by integration' error

2 participants