Skip to content

Remove permissions from pnpm-format-label workflow#151

Merged
Dargon789 merged 1 commit intomasterfrom
Dargon789-patch-1
Dec 26, 2025
Merged

Remove permissions from pnpm-format-label workflow#151
Dargon789 merged 1 commit intomasterfrom
Dargon789-patch-1

Conversation

@Dargon789
Copy link
Owner

@Dargon789 Dargon789 commented Dec 26, 2025

Removed permissions section from the workflow.

Summary by Sourcery

CI:

  • Remove the contents and issues permissions block from the pnpm-format-label workflow, relying on default GitHub Actions permissions instead.

@codesandbox
Copy link

codesandbox bot commented Dec 26, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Dec 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sequence-js-docs Ready Ready Preview, Comment Dec 26, 2025 8:34pm
sequence-js-web Ready Ready Preview, Comment Dec 26, 2025 8:34pm
sequence.js Canceled Canceled Dec 26, 2025 8:34pm
wagmi-project Canceled Canceled Dec 26, 2025 8:34pm

@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@sourcery-ai
Copy link

sourcery-ai bot commented Dec 26, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR simplifies the pnpm-format-label GitHub Actions workflow by removing its custom permissions block so that the workflow inherits the repository or organization default permissions instead.

File-Level Changes

Change Details Files
Workflow no longer declares explicit GitHub token permissions and will now rely on default permissions configuration.
  • Removed the top-level permissions block from the pnpm-format-label workflow configuration
  • Eliminated explicit contents: read and issues: write token permissions from the workflow
.github/workflows/on_pr_pnpm-format-label.yml

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

@snyk-io
Copy link

snyk-io bot commented Dec 26, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • Removing the explicit issues: write permission may cause this workflow to fail if it still needs to modify labels or issues; consider confirming the required scopes and either relying on repo-level default write permissions or retaining a minimal explicit permission block.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Removing the explicit `issues: write` permission may cause this workflow to fail if it still needs to modify labels or issues; consider confirming the required scopes and either relying on repo-level default write permissions or retaining a minimal explicit permission block.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Removed permissions section from the workflow.

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
@vercel vercel bot temporarily deployed to Preview – wagmi-project December 26, 2025 20:34 Inactive
@vercel vercel bot temporarily deployed to Preview – sequence.js December 26, 2025 20:34 Inactive
@Dargon789 Dargon789 merged commit 9d789d3 into master Dec 26, 2025
18 of 24 checks passed
@Dargon789 Dargon789 deleted the Dargon789-patch-1 branch December 26, 2025 20:40
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