Skip to content

Conversation

@vlad1300
Copy link

@vlad1300 vlad1300 commented Jun 3, 2025

Reverts #22115

Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

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

💡 To request another review, post a new comment with "/windsurf-review".

permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

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

Removing these permission blocks might cause the workflow to fail. GitHub Actions uses least-privilege permissions by default, and without explicit issues: write and pull-requests: write permissions, the labeling actions may not have sufficient access to modify labels on PRs.

If this is intentional (perhaps as part of a security review), please ensure the workflow still functions correctly after this change.

permissions:
issues: write
pull-requests: write
steps:
Copy link
Contributor

Choose a reason for hiding this comment

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

Removing the permissions block may break the PR assignment functionality. The workflow uses an action that likely requires issues: write and pull-requests: write permissions to modify PR assignees. Without these explicit permissions, the action might fail with permission errors.

@maxvp maxvp closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants