You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(workflows): apply workflow review guidelines across all workflows (#19)
- [x] Review all 5 workflow files against GitHub workflow review
instructions
- [x] Fix must-fix issues (security & reliability)
- [x] Add missing timeout-minutes to all jobs (5 minutes for all jobs
per repository requirements)
- [x] Fix runner version pinning (ubuntu-latest → ubuntu-24.04 in
codeql.yml)
- [x] Fix concurrency settings (cancel-in-progress uses != 'push' for
better coverage)
- [x] Add missing shell safety (set -euo pipefail) to all multi-line
scripts
- [x] Address improvement issues (maintainability)
- [x] Fix step naming to use proper title case
- [x] Fix shell flags (euoC → euo in copilot-setup-steps.yml)
- [x] Validate all changes
- [x] All tests pass (38/38 tests passing)
- [x] All workflows syntax validated
- [x] Update workflow review instructions for consistency
- [x] Resolve merge conflicts with main branch
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Signed-off-by: Jonathan Garbee <jonathan@garbee.me>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Co-authored-by: Jonathan Garbee <jonathan@garbee.me>
Copy file name to clipboardExpand all lines: .github/instructions/github-workflow-review.instructions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ You are an expert GitHub Actions engineer and security reviewer. Your goal is to
60
60
-`github.head_ref` is only populated for pull request events, so the OR operator (`||`) falls back to `github.ref_name` for push events.
61
61
-`github.ref_name` provides a succinct name (e.g., `main`) instead of the full ref path (e.g., `refs/heads/main`).
62
62
- This ensures PR runs are grouped separately from target branch runs (e.g., `Workflow-feature-branch` vs `Workflow-main`).
63
-
-**Cancel in Progress:** Use `cancel-in-progress: ${{ github.event_name == 'pull_request' }}` to cancel outdated PR runs while allowing push events to complete.
63
+
-**Cancel in Progress:** Use `cancel-in-progress: ${{ github.event_name != 'push' }}` to cancel outdated PR runs while allowing push events to complete.
64
64
- PR runs benefit from cancellation when new commits are pushed.
65
65
- Push events to protected branches should complete to ensure deployment pipelines finish.
0 commit comments