Skip to content

Refactor build workflow — trigger on push instead of daily cron#588

Merged
dfguerrerom merged 2 commits intomainfrom
refactor/build-workflow
Apr 3, 2026
Merged

Refactor build workflow — trigger on push instead of daily cron#588
dfguerrerom merged 2 commits intomainfrom
refactor/build-workflow

Conversation

@dfguerrerom
Copy link
Copy Markdown
Collaborator

Summary

  • Replace daily cron schedule with push-to-main trigger — no more wasted builds when nothing changed
  • Add change detection step — skip commit/push/PR when compile and i18n produce no changes
  • Fix branch name mismatch — PR step referenced l18_main_branch but commits went to l18n_main_cron
  • Bump GitHub Actions to latest versions (checkout v4, setup-python v5, git-auto-commit v5)
  • Keep workflow_dispatch for manual runs
  • Add CLAUDE.md to .gitignore

Test plan

  • Local build passes (nox -s docs)
  • Workflow triggers on push to main
  • Workflow skips commit/push when there are no changes
  • Workflow creates PR when there are actual changes

- Trigger on push to main instead of daily cron — only build
  when there are actual changes
- Skip commit/push steps when compile and i18n produce no changes
- Fix branch name mismatch between commit and PR steps
- Bump actions to v4/v5
- Keep workflow_dispatch for manual runs
@dfguerrerom dfguerrerom merged commit a4a9954 into main Apr 3, 2026
3 checks passed
@dfguerrerom dfguerrerom deleted the refactor/build-workflow branch April 3, 2026 12:53
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