Skip to content

fix: support custom token in review action - #47964

Open
imranbarbhuiya wants to merge 2 commits into
anomalyco:devfrom
imranbarbhuiya:feat/github-custom-author
Open

fix: support custom token in review action#47964
imranbarbhuiya wants to merge 2 commits into
anomalyco:devfrom
imranbarbhuiya:feat/github-custom-author

Conversation

@imranbarbhuiya

@imranbarbhuiya imranbarbhuiya commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #47967

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

When reacting to the pr with 👀, it uses the provided token but remove uses hardcoded name so custom tokens were adding reaction but it wasnt removing it. So now it resolves the user from token and removes the reaction properly. I did changes with agent but i understand and know what it did and why

How did you verify your code works?

I've tested with a local copy of this code in my repo and it's adding and removing the 👀 emoji properly.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

use_github_token workflows were leaving eyes reactions stuck because removal only looked up opencode-agent[bot].
The extra helper only wrapped a default-plus-overwrite. Do that in the handler.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title Feat/GitHub custom author doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Sep 8, 2026
@imranbarbhuiya imranbarbhuiya changed the title Feat/GitHub custom author fix: support custom token in review action Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

github review action react remove doesnt use provided custom token

1 participant