Skip to content

fix(ci): provide token to version guard - #820

Merged
BLumia merged 1 commit into
linuxdeepin:masterfrom
MyLeeJiEun:fix/verify-group-guard-token-20261120
Nov 23, 2026
Merged

BLumia merged 1 commit into
linuxdeepin:masterfrom
MyLeeJiEun:fix/verify-group-guard-token-20261120

Conversation

@MyLeeJiEun

@MyLeeJiEun MyLeeJiEun commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Verify changelog version invokes gh api, but GH_TOKEN is only set for the pending-status and result-publishing steps. As a result, every member PR guard run fails before it can inspect the PR.

Pass the short-lived release App token to the verification step. The same change was exercised in the test organization and group-version-guard completed successfully:

https://github.com/peeweep-test/dde-launchpad/actions/runs/44712631656

Validation:

  • workflow YAML parses successfully
  • test-organization run succeeded
  • group-version-guard was published as success

Summary by Sourcery

Pass the release App token to changelog version verification to prevent authenticated CI guard runs from failing.

Bug Fixes:

  • Provide the release App token to changelog version verification so member pull request guard runs can authenticate their GitHub API requests.

CI:

  • Fix the group version guard workflow authentication for changelog verification.

@sourcery-ai

sourcery-ai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Pass the release App token to changelog version verification so its GitHub API request can authenticate.

  • .github/workflows/verify-group-version.yml L52-53

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Pass the release App token into changelog verification.

Log: Fix missing GH_TOKEN in the group version guard.
Influence: Member PR version checks can run successfully.
PMS: TASK-398637
@MyLeeJiEun
MyLeeJiEun force-pushed the fix/verify-group-guard-token-20261120 branch from 5a8a3d1 to 6adce96 Compare November 20, 2026 10:01
@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, MyLeeJiEun

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@BLumia
BLumia merged commit ad75e35 into linuxdeepin:master Nov 23, 2026
5 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.

3 participants