Repository navigation
fix: Label Large PR workflow failed for forked PRs (#265) - #276
Bakomebandias wants to merge 4 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
WalkthroughThis PR adds a workflow-level permissions block to .github/workflows/large-pr-labeler.yml granting Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ 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. Comment |
|
Thank you @coderabbitai! I've fixed the YAML structure — permissions block is now correctly placed. Ready for re‑review. |
|
✅ Action performedReview finished.
|
|
Thank you @coderabbitai! I've removed the duplicate permissions block. The YAML should now be clean and valid. |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
cat .github/workflows/large-pr-labeler.ymlLength of output: 2247
However, there's still one stray issue lurking — a duplicate on:
pull_request:
types: [opened, synchronize, reopened]
types: [opened, synchronize, reopened] # ← duplicate, needs to goIn YAML, duplicate keys are technically invalid. Most parsers silently keep the last occurrence (so the workflow will likely still run), but it's messy and could confuse tooling or linters down the road. Just like having a duplicate Fix: Remove one of the duplicate on:
pull_request:
types: [opened, synchronize, reopened]Once that's cleaned up, the file should be in solid shape and the PR is good to go! 🚀 |
|
Friendly bump. This PR is mergeable and ready for review. Thank you. |
|
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
This pull request was closed automatically after being stale for 7 days. |
Adds
pull-requests: writepermission to the workflow, which should resolve the HTTP 403 error when adding/removing labels on PRs from forks.\n\nCloses #265.