Skip to content

fix: artifact download nested path and missing issues: write permission#419

Merged
greenc-FNAL merged 2 commits intojules-maintenance-fix-pr-comment-reactions-18132869807280577001from
copilot/sub-pr-411-again
Mar 12, 2026
Merged

fix: artifact download nested path and missing issues: write permission#419
greenc-FNAL merged 2 commits intojules-maintenance-fix-pr-comment-reactions-18132869807280577001from
copilot/sub-pr-411-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 12, 2026

Two unresolved issues in the consolidated workflow/action infrastructure:

  • post-clang-tidy-results nested artifact path: download-artifact with path: ${{ inputs.build-path }} caused artifacts (uploaded as ${build_path}/clang-tidy-fixes.yaml) to extract to ${build_path}/${build_path}/clang-tidy-fixes.yaml, silently missing the existence check. Removed the explicit path to download to workspace root, where ${build_path}/clang-tidy-fixes.yaml resolves correctly.

  • format-all.yaml missing issues: write: complete-pr-comment uses the Reactions API on issue comments, which requires issues: write. Without it, reaction updates were silently no-ops under GITHUB_TOKEN.


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>
Copilot AI changed the title [WIP] [18132869807280577001] Fix clang-tidy-fix comment reactions and consolidate fix: artifact download nested path and missing issues: write permission Mar 12, 2026
Copilot AI requested a review from greenc-FNAL March 12, 2026 19:24
@greenc-FNAL greenc-FNAL marked this pull request as ready for review March 12, 2026 19:24
Copilot AI review requested due to automatic review settings March 12, 2026 19:24
@greenc-FNAL greenc-FNAL merged commit fdbc63b into jules-maintenance-fix-pr-comment-reactions-18132869807280577001 Mar 12, 2026
@greenc-FNAL greenc-FNAL deleted the copilot/sub-pr-411-again branch March 12, 2026 19:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes two CI workflow/action issues in the consolidated automation tooling: corrects where downloaded clang-tidy artifacts land to avoid silent “missing file” behavior, and grants the required token permission for updating reactions on issue comments.

Changes:

  • Remove actions/download-artifact path override in post-clang-tidy-results to prevent ${build_path}/${build_path}/... nested extraction.
  • Add issues: write to format-all.yaml so complete-pr-comment can update reactions via the Issues/Comments Reactions API.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/format-all.yaml Adds issues: write permission required for reaction updates on issue comments.
.github/actions/post-clang-tidy-results/action.yaml Downloads artifacts to workspace root so archived ${build_path}/... paths resolve correctly without duplication.

You can also share your feedback on Copilot code review. Take the survey.

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.

3 participants