Skip to content

ci(cla): add the push trigger scitex-io's caller has - #376

Open
ywatanabe1989 wants to merge 1 commit into
developfrom
ci/cla-add-push-trigger
Open

ci(cla): add the push trigger scitex-io's caller has#376
ywatanabe1989 wants to merge 1 commit into
developfrom
ci/cla-add-push-trigger

Conversation

@ywatanabe1989

Copy link
Copy Markdown
Collaborator

Summary

  • .github/workflows/cla.yml already delegates to the org reusable
    workflow (scitex-ai/.github/.github/workflows/cla.yml, merged via
    fix(cla): point the signature store at the renamed branch #367) but its on: block dropped the push trigger that scitex-io's
    caller (the file this migration was told to mirror) has. Without it
    the reusable's owner-bypass job never fires on a direct push by the
    allowlisted owner.
  • Adds push: { branches: [main, develop], tags: ['v*'] }, matching
    scitex-io byte-for-byte on that block.
  • permissions:, default_branch (main), runs_on, and the
    owner_allowlist/secret mapping were already correct on develop
    (a prior session's fix(cla): point the signature store at the renamed branch #367 already did the reusable-workflow migration
    properly, including SHA-pinning the callee and carrying over the
    LLEmacs allowlist entry) — this PR only adds the missing trigger.

IMPORTANT — this alone will NOT turn the live CLA check green

Verified empirically: GitHub resolves the workflow YAML for
pull_request_target (and issue_comment) from the repository's
default branch, not the PR's base branch — confirmed against
GitHub's own docs ("This event runs in the context of the default
branch of the base repository"). scitex-python's default branch is
main, and main still has the old, fully inline
contributor-assistant/github-action@v2.6.1 config pointing at the
deleted cla-signatures branch. develop has had the correct
reusable-workflow config since #367 merged (2026-08-30), yet every
CLA run since — on PRs based on develop, including this one — still
executes the old main config and fails with the same
Branch cla-signatures not found error. Landing this on develop
does not change that; main needs the fix too (see PR #360,
"promote develop → main", open since 2026-08-10).

Test plan

  • YAML validated with python3 -c "import yaml; yaml.safe_load(...)".
  • Confirm this PR's own CLAssistant check conclusion once CI runs (expected to still fail, for the default-branch reason above).

The reusable-workflow migration (PR #367) carried over the on: block's
issue_comment/pull_request_target entries but dropped push, so the
reusable's owner-bypass job (marks CLAssistant=success on a direct push
by the allowlisted owner, since a push has no PR to sign against) never
runs here. scitex-io's caller -- the file this migration was told to
mirror -- triggers on push to [main, develop] plus v* tags; bring this
repo's caller to parity.
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.

1 participant