Skip to content

chore(repo): Remove unused workflow permission#8581

Open
dominic-clerk wants to merge 1 commit into
mainfrom
dc-remove-unused-permission-lock-threads
Open

chore(repo): Remove unused workflow permission#8581
dominic-clerk wants to merge 1 commit into
mainfrom
dc-remove-unused-permission-lock-threads

Conversation

@dominic-clerk
Copy link
Copy Markdown
Contributor

Description

The contents: write permission is only used for the delete-branch option in the actions/stale workflow, however we never use that option. It is safe to remove the permission.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

The `contents: write` permission is only used for the `delete-branch`
option in the `actions/stale` workflow, however we never use that
option. It is safe to remove the permission.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment May 18, 2026 9:27am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 18, 2026

⚠️ No Changeset found

Latest commit: 3f46f08

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 49d4d910-20e2-4b0d-bf80-fb03bc4048be

📥 Commits

Reviewing files that changed from the base of the PR and between 097ad4a and 3f46f08.

📒 Files selected for processing (1)
  • .github/workflows/lock-threads.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/lock-threads.yml

📝 Walkthrough

Walkthrough

The lock-threads GitHub Actions workflow's permissions configuration was updated to remove the contents: write permission. The workflow retains the issues: write and pull-requests: write permissions required for its core functionality of locking threads on issues and pull requests.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main change: removing an unused workflow permission from the repository configuration.
Description check ✅ Passed The description clearly explains the rationale for removing the contents: write permission and is directly related to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 18, 2026

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@8581

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@8581

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@8581

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@8581

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@8581

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@8581

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@8581

@clerk/express

npm i https://pkg.pr.new/@clerk/express@8581

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@8581

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@8581

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@8581

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@8581

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@8581

@clerk/react

npm i https://pkg.pr.new/@clerk/react@8581

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@8581

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@8581

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@8581

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@8581

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@8581

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@8581

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@8581

commit: 3f46f08

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.

1 participant