Repository navigation
docs: improve .env.example with per-variable explanations - #901
Open
TrueFurina wants to merge 1 commit into
Open
TrueFurina wants to merge 1 commit into
TrueFurina wants to merge 1 commit into
Conversation
Author
|
两个红项都不是本改动引起的,逐条说明(供维护者判断)。 1.
|
| PR | 来源 | pytest |
|---|---|---|
| #974 / #973 / #972 / #971 | 本仓库分支(token 可写) | ✅ pass |
| #901(本 PR) / #975 | fork | ❌ 同一 Resource not accessible |
建议修法(任选其一):
- name: Comment PR
if: github.event.pull_request.head.repo.full_name == github.repository或对该 step 加 continue-on-error: true。不建议为此改用 pull_request_target
(那会让 fork 代码获得写权限,风险更大)。
2. codecov-upload:动作已弃用
This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with 'report_type: test_results'.
3. 本 PR 当前状态
mergeable=false、state=dirty —— 与 main 存在文本冲突,需要 rebase 后才能合并。
这是 docs/ 下的文档改动(.env.example 逐变量说明),冲突解决无技术风险。
需要的话我可以把它重新基于当前 main 整理干净,只是不想未经确认就改写已推送的分支。
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improves
.env.examplereadability for first-time installers per the task requirements:DATABASE_HOST,TP_TLS_*, mail settings)[dev](development/testing) or[prod](change for production), e.g.DATABASE_PASSWORDdefault is explicitly called out as local-testing-only with anopenssl randcommand for productionChanges
.env.example: restructured comments, added per-variable docs,[dev]/[prod]markers, kept all variable names and values identicalAcceptance criteria