Skip to content

Remove unwanted (and unhelpful) extra check#374

Merged
greenc-FNAL merged 1 commit intomainfrom
bugfix/handle-fix-comment
Feb 27, 2026
Merged

Remove unwanted (and unhelpful) extra check#374
greenc-FNAL merged 1 commit intomainfrom
bugfix/handle-fix-comment

Conversation

@greenc-FNAL
Copy link
Contributor

  • && github.event.pull_request.number was added in Resolve clang-tidy-fix issues, separate header guard check/fix #363 to prevent
    attempts to comment on a non-PR.
  • However, it failed to take account of when the pull request came from
    elsewhere (e.g. in the case of an issue comment).
  • It was anyway unnecessary because the external comment action handles
    all cases correctly, including when there is no PR to comment upon.

- `&& github.event.pull_request.number` was added in #363 to prevent
  attempts to comment on a non-PR.
- However, it failed to take account of when the pull request came from
  elsewhere (e.g. in the case of an issue comment).
- It was anyway unnecessary because the external comment action handles
  all cases correctly, including when there is no PR to comment upon.
@greenc-FNAL greenc-FNAL added bug Something isn't working CI Issues with or additions to CI github_actions Pull requests that update GitHub Actions code urgent Urgent or otherwise time-sensitive labels Feb 27, 2026
@greenc-FNAL greenc-FNAL requested a review from knoepfel February 27, 2026 21:19
@greenc-FNAL greenc-FNAL merged commit 8759264 into main Feb 27, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI Issues with or additions to CI github_actions Pull requests that update GitHub Actions code urgent Urgent or otherwise time-sensitive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants