Skip to content

Bump to 0.2.3#17

Merged
genedna merged 2 commits intobuck2hub:mainfrom
genedna:main
Feb 12, 2026
Merged

Bump to 0.2.3#17
genedna merged 2 commits intobuck2hub:mainfrom
genedna:main

Conversation

@genedna
Copy link
Contributor

@genedna genedna commented Feb 12, 2026

No description provided.

Signed-off-by: Quanyi Ma <eli@patch.sh>
Signed-off-by: Quanyi Ma <eli@patch.sh>
Copilot AI review requested due to automatic review settings February 12, 2026 04:36
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e430fbc8c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

gh pr checkout ${{ github.event.issue.number || github.event.pull_request.number }}
# Use PR head SHA for pull_request_target to review the actual PR code
# For comment events, this will default to the base branch (PR context is inferred by Claude action)
ref: ${{ github.event.pull_request.head.sha || github.sha }}

Choose a reason for hiding this comment

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

P1 Badge Restore PR head checkout for issue_comment-triggered reviews

For issue_comment events on pull requests, the payload only has github.event.issue.pull_request metadata (not github.event.pull_request.head.sha), so this checkout ref resolves to github.sha on the default branch. Since this commit also removed the gh pr checkout ... step, @claude invocations from PR conversation comments now run against base-branch code instead of the PR head, which can produce incorrect review feedback and misplaced inline comments.

Useful? React with 👍 / 👎.

Copy link

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

Bumps the qlean crate release to 0.2.3, updates release notes, and revises the Claude PR review GitHub Actions workflow configuration.

Changes:

  • Bump crate version from 0.2.2 to 0.2.3 (Cargo.toml / Cargo.lock).
  • Add 0.2.3 release entry and update compare links in CHANGELOG.md.
  • Update .github/workflows/claude-review.yml triggers, permissions, and checkout behavior.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.

File Description
Cargo.toml Updates crate version to 0.2.3.
Cargo.lock Updates the locked package version for qlean to 0.2.3.
CHANGELOG.md Adds 0.2.3 section and updates compare links.
.github/workflows/claude-review.yml Expands triggers and changes permissions/checkout configuration for automated Claude reviews.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +70 to +72
# Use PR head SHA for pull_request_target to review the actual PR code
# For comment events, this will default to the base branch (PR context is inferred by Claude action)
ref: ${{ github.event.pull_request.head.sha || github.sha }}
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

Using pull_request_target together with checking out github.event.pull_request.head.sha runs the workflow with elevated permissions/secrets against untrusted PR code (from forks). This is a known GitHub Actions security risk. Safer options are: keep pull_request_target but checkout the base SHA and fetch PR diff via API/gh pr diff, or switch to pull_request for untrusted contributions (no secrets) if you need to checkout PR code.

Suggested change
# Use PR head SHA for pull_request_target to review the actual PR code
# For comment events, this will default to the base branch (PR context is inferred by Claude action)
ref: ${{ github.event.pull_request.head.sha || github.sha }}
# Use PR base SHA for pull_request_target to ensure only trusted code is checked out
# For non-PR events, this will default to the current commit SHA
ref: ${{ github.event.pull_request.base.sha || github.sha }}

Copilot uses AI. Check for mistakes.
Comment on lines +29 to 30
# Allow this workflow to manage its own actions if required
actions: write
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The workflow requests actions: write permissions, but this job doesn't appear to call any Actions management APIs. Keeping write-level permissions increases blast radius if the workflow is abused; consider removing actions: write (and any other unused write permissions) and granting the minimum required.

Suggested change
# Allow this workflow to manage its own actions if required
actions: write

Copilot uses AI. Check for mistakes.
Comment on lines +12 to 14
# Trigger on new or assigned issues (for future extension or automation)
issues:
types: [opened, assigned]
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

on: issues is configured, but the job-level if: condition doesn't include github.event_name == 'issues', so these events will always result in a skipped job. Either add an issues clause to the if: or remove the issues trigger to avoid confusing/no-op workflow runs.

Suggested change
# Trigger on new or assigned issues (for future extension or automation)
issues:
types: [opened, assigned]

Copilot uses AI. Check for mistakes.
github_token: ${{ secrets.GITHUB_TOKEN }}

# Enable progress tracking
# Enable progress tracking and show full Claude output in logs
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The comment says "show full Claude output in logs", but show_full_output: true is no longer set. Either restore that input or adjust the comment so the workflow configuration and documentation match.

Suggested change
# Enable progress tracking and show full Claude output in logs
# Enable progress tracking for long-running reviews

Copilot uses AI. Check for mistakes.
@genedna genedna merged commit e95651d into buck2hub:main Feb 12, 2026
11 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.

1 participant

Comments