Skip to content

fix: mark stale action couldn't read contents#41533

Merged
wyattwalter merged 1 commit intoreleasefrom
ww-fix-mark-stale-action
Feb 5, 2026
Merged

fix: mark stale action couldn't read contents#41533
wyattwalter merged 1 commit intoreleasefrom
ww-fix-mark-stale-action

Conversation

@wyattwalter
Copy link
Contributor

@wyattwalter wyattwalter commented Jan 29, 2026

Description

I'm not sure how this action ever worked, but it's failing to checkout the codebase because it doesn't have permissions to do so.

Tip

Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).

Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

Warning

If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation

/ok-to-test tags=""

🔍 Cypress test results

Caution

If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflow permissions to support continuous integration and automation processes.

✏️ Tip: You can customize this high-level summary in your review settings.

@github-actions github-actions bot added the Bug Something isn't working label Jan 29, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 29, 2026

Walkthrough

This pull request adds read permission for contents to GitHub Actions workflow jobs in the pr-automation workflow. The contents: read permission is added to both the main workflow job and the mark-stale job, each alongside the existing pull-requests: write permission.

Changes

Cohort / File(s) Summary
GitHub Actions Permissions
.github/workflows/pr-automation.yml
Added contents: read permission to two workflow job permission blocks (main job and mark-stale job) to enable content read access.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🔐 A permission slip so small and sweet,
Contents now readable, the workflow's complete,
Read access granted with minimal fuss,
The automation flows with trust built in us. ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The description addresses the core issue but lacks critical details: no specific issue number/URL is referenced (marked as template placeholder), and no context on why this permission was missing or when it broke. Add the issue number or URL being fixed, and provide brief context on when/why this permission issue arose to help reviewers understand the problem's scope.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: fixing a permissions issue with the mark-stale GitHub Action lacking content-read permissions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@wyattwalter wyattwalter merged commit 1ad1ffb into release Feb 5, 2026
17 checks passed
@wyattwalter wyattwalter deleted the ww-fix-mark-stale-action branch February 5, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments