Repository navigation
Start the Watcher's Bash Blocks With set -Eeuo pipefail - #413
Conversation
WORKFLOW.md D9.3 and GOVERNANCE.md "Workflow YAML Conventions" require every multi-line bash run block to start with set -Eeuo pipefail, so an ERR trap is inherited by functions and subshells. Both of this workflow's blocks used set -euo pipefail, the held step and the resolve step alike. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 42 minutes. View limit details
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. |
There was a problem hiding this comment.
🟢 Approval recommended
Both affected workflow shell blocks now follow the repository’s required Bash strict-mode convention, and no active review issues were identified.
No open issues 🎉
What changed in this PR
This pull request updates the upstream-dependency watcher workflow to follow the repository’s required Bash strict-mode convention by enabling inherited ERR traps in both multi-line shell blocks.
Changes:
- Changed the dependency resolution block to use
set -Eeuo pipefail. - Changed the held-review check block to use
set -Eeuo pipefail. - No behavioral changes are expected because neither block defines an
ERRtrap.
| File | Description |
|---|---|
.github/workflows/check-upstream-dependency.yml |
Applies the required Bash strict-mode header to both workflow shell blocks. |
Review effort: Lite
Summary
This answers a Copilot finding on promotion PR #411.
WORKFLOW.mdD9.3 andGOVERNANCE.md"Workflow YAML Conventions" require every multi-line bashrun:block to start withset -Eeuo pipefail. Both blocks incheck-upstream-dependency.ymlusedset -euo pipefail: the held step #410 added and the older resolve step. Both now use-E.Neither block has a
trapor a function, so behavior does not change. Every other multi-line bash block under.github/workflowsand.github/actionsalready starts withset -Eeuo pipefail.Refs #408
Verification
🤖 Generated with Claude Code