Skip to content

Tighten v1 action input validation#4

Merged
taro-28 merged 1 commit into
mainfrom
codex/v1-input-contract
Apr 28, 2026
Merged

Tighten v1 action input validation#4
taro-28 merged 1 commit into
mainfrom
codex/v1-input-contract

Conversation

@taro-28
Copy link
Copy Markdown
Member

@taro-28 taro-28 commented Apr 28, 2026

Summary

  • validate with-disable so only true / false are accepted
  • reject from unless environment-id is set, and reject matching source/target environment IDs
  • align README and action.yml input descriptions for v1.0.0 publication

Behavior

workflow input
  -> scripts/run.sh validates contract
  -> valid inputs call bm sync
  -> invalid combinations fail before CLI execution

Validation

  • bats tests/
  • shellcheck -x scripts/*.sh tests/fixtures/bm-mock
  • git diff --check HEAD~1 HEAD
  • conflict marker scan for changed files

Release Notes

After this PR merges, create and push v1.0.0; the existing Release workflow will create the GitHub Release and update floating tag v1.

@github-actions
Copy link
Copy Markdown

mock sync output

@github-actions
Copy link
Copy Markdown

mock sync output

@github-actions
Copy link
Copy Markdown

mock sync output

@github-actions
Copy link
Copy Markdown

mock sync output

@taro-28 taro-28 marked this pull request as ready for review April 28, 2026 08:51
@taro-28 taro-28 requested a review from a team as a code owner April 28, 2026 08:51
@taro-28 taro-28 requested review from m-shaka and yebis0942 April 28, 2026 08:51
@taro-28 taro-28 merged commit 8631cca into main Apr 28, 2026
6 checks passed
@taro-28 taro-28 deleted the codex/v1-input-contract branch April 28, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants