Skip to content

Conversation

@alenkacz
Copy link
Contributor

@alenkacz alenkacz commented Jan 5, 2026

This should first run some tests before we bump console enterprise.

@alenkacz alenkacz requested a review from weeco January 5, 2026 06:51
@weeco
Copy link
Contributor

weeco commented Jan 5, 2026

Good improvement on running some tests before dispatching. I think we can skip the heavy tests and/or run them in private repository which is always a superset of tests.

Instead of using workflow_run as a trigger I believe we want to use https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows instead? I don't like the workflow trigger because it has an implicit trigger chain across the workflow yamls.

Comment on lines 4 to 7
workflow_run:
workflows: ["Backend verify", "Frontend Lint & Compile check"]
types:
- completed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to keep the trigger and use https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows for invoking the test/lint workflows to keep the trigger self-contained in this file.

Addressed code review feedback to make the workflow self-contained by:
- Making backend-lint-test.yml and frontend-verify.yml reusable with workflow_call trigger
- Calling both workflows as jobs in repository-dispatch.yml
- Using 'needs' to ensure dispatch only runs after tests pass

This keeps the trigger self-contained in one file while still ensuring
tests pass before dispatching to console-enterprise.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

3 participants