Repository navigation
Conversation
Bumps the actions-deps group with 5 updates: | Package | From | To | | --- | --- | --- | | [ptr727/ProjectTemplate/.github/workflows/validate-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1166` | `2.0.1192` | | [ptr727/ProjectTemplate/.github/workflows/deploy-site-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1166` | `2.0.1192` | | [ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1166` | `2.0.1192` | | [ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1166` | `2.0.1192` | | [ptr727/ProjectTemplate/.github/workflows/build-release-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1166` | `2.0.1192` | Updates `ptr727/ProjectTemplate/.github/workflows/validate-task.yml` from 2.0.1166 to 2.0.1192 - [Release notes](https://github.com/ptr727/projecttemplate/releases) - [Changelog](https://github.com/ptr727/ProjectTemplate/blob/main/HISTORY.md) - [Commits](ptr727/ProjectTemplate@63cf1c9...d7041d8) Updates `ptr727/ProjectTemplate/.github/workflows/deploy-site-task.yml` from 2.0.1166 to 2.0.1192 - [Release notes](https://github.com/ptr727/projecttemplate/releases) - [Changelog](https://github.com/ptr727/ProjectTemplate/blob/main/HISTORY.md) - [Commits](ptr727/ProjectTemplate@63cf1c9...d7041d8) Updates `ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml` from 2.0.1166 to 2.0.1192 - [Release notes](https://github.com/ptr727/projecttemplate/releases) - [Changelog](https://github.com/ptr727/ProjectTemplate/blob/main/HISTORY.md) - [Commits](ptr727/ProjectTemplate@63cf1c9...d7041d8) Updates `ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml` from 2.0.1166 to 2.0.1192 - [Release notes](https://github.com/ptr727/projecttemplate/releases) - [Changelog](https://github.com/ptr727/ProjectTemplate/blob/main/HISTORY.md) - [Commits](ptr727/ProjectTemplate@63cf1c9...d7041d8) Updates `ptr727/ProjectTemplate/.github/workflows/build-release-task.yml` from 2.0.1166 to 2.0.1192 - [Release notes](https://github.com/ptr727/projecttemplate/releases) - [Changelog](https://github.com/ptr727/ProjectTemplate/blob/main/HISTORY.md) - [Commits](ptr727/ProjectTemplate@63cf1c9...d7041d8) --- updated-dependencies: - dependency-name: ptr727/ProjectTemplate/.github/workflows/validate-task.yml dependency-version: 2.0.1192 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: ptr727/ProjectTemplate/.github/workflows/deploy-site-task.yml dependency-version: 2.0.1192 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml dependency-version: 2.0.1192 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml dependency-version: 2.0.1192 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml dependency-version: 2.0.1192 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Read the Release Env File Through the Carried Secret Readers Carry the hub's lib/sh to lib/fleet/sh now that Blog declares the host-secrets type. make-release.sh checks its env file with require_secret and reads DEPLOY_ROOT, DEPLOY_SSH_HOST and SITE_BASE_URL with read_env_value, replacing the existence check and set -a sourcing. A group-readable or CRLF file is refused, and the file's other credentials no longer enter the script's environment. The carried copy keeps the hub's four-space indent, so .editorconfig scopes the tab rule away from lib/fleet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Describe the Carried Readers Wherever the Env File Is Documented The docs still said make-release.sh sources its env file with set -a. They now say it reads three values and overwrites the caller's, set or not. Each copy step says to make the file mode 600, since the script refuses a group-readable one. The shell lint tasks list the carried library, matching CI's file set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Split the Env-File Sentences That Ran Past 25 Words Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add the Missing Relative Pronoun to the Mode Requirement Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #562 +/- ##
=======================================
Coverage 53.98% 53.98%
=======================================
Files 12 12
Lines 3412 3412
=======================================
Hits 1842 1842
Misses 1570 1570
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Two documentation inconsistencies remain: the example environment claim overstates which values the script reads, and the operations runbook incorrectly describes DEPLOY_ROOT as sourced rather than read.
2 open issues
What changed in this PR
This pull request promotes the carried secret-reader integration and reusable workflow updates to main. The release script now validates and selectively reads environment files instead of sourcing them directly.
Changes:
- Adds the carried secret validation and environment-value reader library.
- Updates release, deployment, environment, and secret-file documentation.
- Updates
deploy/make-release.shto read only required values. - Pins reusable workflows to ProjectTemplate
2.0.1192. - Includes the carried shell library in local lint and formatting tasks.
- Records three documentation nits: two in
OPERATIONS.mdand one in.secrets/example.env.
| File | Description |
|---|---|
README.md |
Documents required permissions for local environment files. |
OPERATIONS.md |
Updates release procedures and environment-reading guidance. Findings: two [P2] nits (3 votes and 1 vote) clarify file-reading and sourcing terminology. |
lib/fleet/sh/secrets.sh |
Adds the carried secret validation and environment-value readers. |
ENVIRONMENT.md |
Describes validation, precedence, and selective environment-file reading. |
deploy/README.md |
Documents environment-file setup, permissions, and selection. |
deploy/make-release.sh |
Validates the environment file and reads selected values through the carried readers. |
.vscode/tasks.json |
Includes the carried shell library in shell lint and format tasks. |
.secrets/README.md |
Documents required private permissions for environment files. |
.secrets/example.env |
Updates environment-file usage and permission notes. Finding: one [P2] nit (2 votes) limits the override claim to the values read by the release script. |
.github/workflows/test-pull-request.yml |
Pins the reusable validation workflow to 2.0.1192. |
.github/workflows/publish-release.yml |
Pins release planning, validation, and build workflows to 2.0.1192. |
.github/workflows/merge-bot-pull-request.yml |
Pins the merge-bot workflow to 2.0.1192. |
.github/workflows/deploy-site.yml |
Pins validation and deployment workflows to 2.0.1192. |
.editorconfig |
Preserves four-space indentation for the carried shell tree. |
Review effort: Lite
* Name the Values make-release.sh Reads From Its Env File The example template and two OPERATIONS.md sentences still credited the shell's sourced DEPLOY_ROOT, or every value in the file, to the script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Name What Sourcing Supplies and What the Root Argument Overrides Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…564) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Headline on the 7063a41 round (OPERATIONS.md still describing ENV_FILE as sourced): Fixed in b09f9e4 (#564). OPERATIONS.md:70 said " |

Summary
Promotes the carried secret readers to
main.lib/shtolib/fleet/sh.deploy/make-release.shchecks its env file withrequire_secretand readsDEPLOY_ROOT,DEPLOY_SSH_HOST, andSITE_BASE_URLwithread_env_value, replacing theset -asourcing. The docs describe the new reading, and each copy step says to make the file mode 600..secrets/example.envandOPERATIONS.mdnow name the values the script reads from its file, rather than crediting the shell's sourcing.develop's copy of the hub workflow bump that #559 already landed onmain.Verification
developat6671b6cbuilt and installed through the new reader against the real staging env file, andchecks/check-live-urls.shwithEXPECT_RELEASEpassed every URL.Issues
Closes #553
🤖 Generated with Claude Code