feat(env-diff): find the draft release itself #17

Merged
robin.wieske merged 1 commit from feat/env-diff-find-draft into main 2026-11-13 17:12:16 +01:00
Owner

Lets a step right after Release Drafter write the "Environment changes" section into the draft, so repos see it while drafting. The drafter action only outputs a URL, so env-diff had no tag or release id to work with.

  • New input find_draft (default false). With true and empty tag and release_id, report.sh lists releases?draft=true and uses the single draft. None or several: warning and skip, or failure with fail_on_error.
  • tag is no longer required in action.yml (still checked in the script).
  • README documents the post-drafter usage; tests cover the lookup, no draft, and fail_on_error. bash tests/run.sh passes; shellcheck not available locally.

Existing callers are unaffected. Aevana/aevana#2047 will switch to this after merge and a pin bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LFbXrghRVSfsfvm1S1A7Uc

Lets a step right after Release Drafter write the "Environment changes" section into the draft, so repos see it while drafting. The drafter action only outputs a URL, so env-diff had no tag or release id to work with. - New input `find_draft` (default `false`). With `true` and empty `tag` and `release_id`, `report.sh` lists `releases?draft=true` and uses the single draft. None or several: warning and skip, or failure with `fail_on_error`. - `tag` is no longer required in `action.yml` (still checked in the script). - README documents the post-drafter usage; tests cover the lookup, no draft, and `fail_on_error`. `bash tests/run.sh` passes; shellcheck not available locally. Existing callers are unaffected. Aevana/aevana#2047 will switch to this after merge and a pin bump. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01LFbXrghRVSfsfvm1S1A7Uc
feat(env-diff): find the draft release itself
All checks were successful
Test release-gate / pytest (pull_request) Successful in 14s
Test shell actions / test (pull_request) Successful in 43s
50d0be7e70
A step right after the release drafter action has no tag or release id:
the drafter only outputs a URL. With find_draft: true and empty tag and
release_id, env-diff now looks up the single draft release of repo and
writes the Environment changes section into it. None or several drafts
warn and skip (or fail with fail_on_error).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LFbXrghRVSfsfvm1S1A7Uc
robin.wieske deleted branch feat/env-diff-find-draft 2026-11-13 17:12:17 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Wi3eDigital/laravel-deploy-actions!17
No description provided.