Repository navigation
Commit 8574d8e
feat: add arcane-deploy GitHub Action for Docker Compose GitOps sync
* feat: add arcane-deploy action for Docker Compose GitOps sync
Adds a reusable GitHub Action that automatically deploys Docker Compose
stacks to Arcane's container management platform via its GitOps sync API.
Supports directory-based compose file discovery, explicit file lists,
shared environment variables, and create-or-update semantics (no deletes).
https://claude.ai/code/session_01PrmzWtCEcxJTMjxXje3ndd
* Move arcane-deploy detailed docs to action README
The root README now has a brief entry matching the style of other
actions, with a link to the full docs in .github/actions/arcane-deploy/README.md.
https://claude.ai/code/session_01PrmzWtCEcxJTMjxXje3ndd
* chore: `mise format`
Triggered by: 420104a
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/22290862379
* Add PR review reports (in progress)
Review agents for simplicity, flexibility, security, and usability have
completed. Remaining categories (documentation, patterns, best-practices,
quality-assurance) are still running and will be added in a follow-up commit.
https://claude.ai/code/session_01PrmzWtCEcxJTMjxXje3ndd
* Add remaining review reports (documentation, best-practices, patterns pending)
https://claude.ai/code/session_01PrmzWtCEcxJTMjxXje3ndd
* chore: `mise format`
Triggered by: 166213a
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/22321183132
* chore: `mise format`
Triggered by: 877bd47
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/22321202828
* docs: add complete PR review with overall report
All 8 category reviews complete plus overall summary.
https://claude.ai/code/session_01PrmzWtCEcxJTMjxXje3ndd
* chore: `mise format`
Triggered by: 2afd682
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/22321236572
* fix: address all review findings — security, reliability, usability, docs
Security (Critical):
- C1: Move ::add-mask:: for API key to top of script, before any logging
- C2: Add ::add-mask:: for git token immediately after assignment
Security/Reliability (High):
- H1: Mask env-var values, validate key format, reject newline injection
- H2: Replace curl || true with proper transport error handling + timeouts
- H3: Validate sync-interval is a positive integer before jq --argjson
- H7: Add jq_extract_id() helper to guard against null/malformed API IDs
Usability (High):
- H4: Reject unsupported auth-type values (remove ssh until implemented)
- H5: Validate git-token is required when auth-type is http (the default)
- H6: Correct env-vars description — these are runner env vars, not container env
Simplicity:
- Deduplicate trigger-sync logic (was in both if/else branches)
- Remove unnecessary auto_sync_val intermediate variable
- Extract trim() and require_input() helper functions
- Add comment explaining sync name dedup logic
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: `mise format`
Triggered by: d556cfd
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/22332835231
* fix: validate auto-sync boolean, enforce HTTPS, document scan depth
- Validate auto-sync is 'true' or 'false' before passing to jq --argjson
- Reject arcane-url values that don't use HTTPS
- Document maxdepth 2 scan limit in compose-dir descriptions (action.yml, README)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: `mise format`
Triggered by: 11bdea1
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/22333108862
* fix: omit token for auth-type=none, deduplicate compose files, log trigger failures
- M7: Omit token field from create-repository payload when auth-type=none
- M5: Deduplicate compose files when compose-dir scan overlaps explicit list
- N2: Log a warning when trigger-sync API call fails instead of silently continuing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: automation-nsheaps[bot] <251779498+automation-nsheaps[bot]@users.noreply.github.com>1 parent 81a7845 commit 8574d8e
13 files changed
Lines changed: 1582 additions & 0 deletions
File tree
- .claude/pr-reviews/nsheaps/github-actions/1/1771874092
- best-practices
- documentation
- flexibility
- patterns
- quality-assurance
- security
- simplicity
- usability
- .github/actions/arcane-deploy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
0 commit comments