Skip to content

Fix pkgcheck false “no CI checks” failure by restoring workflow metadata read access - #44

Merged
maRce10 merged 2 commits into
mainfrom
copilot/fix-pkgcheck-failure-again
Aug 18, 2026
Merged

Fix pkgcheck false “no CI checks” failure by restoring workflow metadata read access#44
maRce10 merged 2 commits into
mainfrom
copilot/fix-pkgcheck-failure-again

Conversation

Copilot AI commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The pkgcheck Actions job failed with Package has no continuous integration checks. despite existing CI workflows. The failure was caused by the workflow token permissions being too restrictive for pkgcheck’s GitHub workflow/run introspection.

  • Root cause

    • pkgcheck inspects GitHub Actions workflow metadata to verify CI presence/status.
    • The pkgcheck workflow only granted issues: write, which blocked required read access to Actions metadata.
  • Change made

    • Updated .github/workflows/pkgcheck.yaml job permissions to include read access needed for CI discovery while preserving issue-comment behavior:
      • actions: read
      • contents: read
      • issues: write
  • Resulting behavior

    • pkgcheck can now read workflow/run metadata and correctly detect existing CI checks instead of reporting a false negative.
permissions:
  actions: read
  contents: read
  issues: write

Co-authored-by: maRce10 <13245502+maRce10@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job pkgcheck Fix pkgcheck false “no CI checks” failure by restoring workflow metadata read access Aug 18, 2026
Copilot AI requested a review from maRce10 August 18, 2026 15:20
@maRce10
maRce10 marked this pull request as ready for review August 18, 2026 15:27
@maRce10
maRce10 merged commit 3ce7eef into main Aug 18, 2026
14 checks passed
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.

2 participants