Conversation
It's needed to store Git credentials even after checking out the repository.
There was a problem hiding this comment.
Pull Request Overview
This PR updates the release workflow to use the GitHub App Token when checking out the repo so that credentials persist for later Git operations.
- Moves the checkout step to after the App Token creation and enables
persist-credentials: true - Removes the earlier checkout with
persist-credentials: false - Adds a ghalint exclusion for the
checkout_persist_credentials_should_be_falsepolicy
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Reorders and updates the checkout step to use the App Token and persist credentials |
| .github/ghalint.yml | Adds an exclusion for the checkout_persist_credentials_should_be_false lint policy |
Comments suppressed due to low confidence (2)
.github/ghalint.yml:4
- The
job_namehere refers to a step ID, not the workflow job name. This exclusion may not apply correctly—either update it to the actual job key (e.g.,release) or remove the exclusion if the false-checkout step has been removed.
job_name: tagpr
.github/workflows/release.yml:29
- [nitpick] Two steps share the same name, which can make logs confusing. Consider renaming this to something like
🚚 Checkout with App Tokento clarify its purpose.
- name: 🚚 Checkout repository
|
Caution Review failedThe pull request is closed. WalkthroughA configuration file was added to exclude a specific GitHub Actions linting policy for the Changes
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate Unit Tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
close #
✏️ Description
It's needed to store Git credentials even after checking out the repository.