Rename DOTCMS_API_TOKEN secrets in autodoc workflow - #484
Conversation
❌ Issue Linking RequiredThis PR could not be linked to an issue. All PRs must be linked to an issue for tracking purposes. How to fix this:Option 1: Add keyword to PR body (Recommended - auto-removes this comment)
Why is this required?Issue linking ensures proper tracking, documentation, and helps maintain project history. It connects your code changes to the problem they solve.--- This comment was automatically generated by the issue linking workflow |
|
Claude finished @jdcmsd's task in 1m 17s —— View job PR Review: autodoc workflow
The secret rename itself is mechanically fine, but this PR's diff contains far more than its title/description claim, and a couple of those changes carry real risk. 🔴 Most likely to break things: env var names changed, not just secret references- DOTCMS_API_TOKEN: ${{ secrets.DOTCMS_API_TOKEN }}
- DOTCMS_API_TOKEN_LOCAL: ${{ secrets.DOTCMS_API_TOKEN_LOCAL }}
+ DOTCMS_API_TOKEN_AISEARCH: ${{ secrets.DOTCMS_API_TOKEN_AISEARCH }}
+ DOTCMS_API_TOKEN_AUTODOCDRAFT: ${{ secrets.DOTCMS_API_TOKEN_AUTODOCDRAFT }}You renamed both the secret and the environment variable exposed to the scripts. The consuming code lives in another repo ( 🟠 Description / test plan no longer match the workflow
🟠
|
Summary
DOTCMS_API_TOKEN→DOTCMS_API_TOKEN_AISEARCHandDOTCMS_API_TOKEN_LOCAL→DOTCMS_API_TOKEN_AUTODOCDRAFTinissue_autodoc.ymlto match the updated secret names now set in repo settings.Test plan
Doc : Needs Doc