Skip to content

[feat] Add GH Workflows#5

Merged
sfc-gh-bnisco merged 1 commit intomainfrom
01-26-_feat_add_gh_workflows
Jan 29, 2026
Merged

[feat] Add GH Workflows#5
sfc-gh-bnisco merged 1 commit intomainfrom
01-26-_feat_add_gh_workflows

Conversation

@sfc-gh-bnisco
Copy link
Copy Markdown
Contributor

@sfc-gh-bnisco sfc-gh-bnisco commented Jan 27, 2026

TL;DR

Add two GitHub Actions workflows to automate component gallery maintenance: a weekly refresh pipeline and a validation workflow for component definitions.

What changed?

  • Added .github/workflows/run-refresh-pipeline.yml that:

    • Runs weekly on Monday at 03:00 UTC (Sunday evening PT)
    • Can be manually triggered with configurable options
    • Executes the pipeline refresh script
    • Creates a PR with the changes if any are detected
    • Includes concurrency controls to prevent multiple runs
  • Added .github/workflows/validate-component-definitions.yml that:

    • Runs on PRs targeting the master branch
    • Triggers only when files in directory/components/** are changed
    • Validates component definitions using the validation script

How to test?

  1. For the refresh pipeline:

    • Manually trigger the workflow from the Actions tab
    • Optionally configure the input parameters (no_images, allow_enrich_failures, extra_args)
    • Verify a PR is created with the pipeline changes
  2. For the validation workflow:

    • Create a PR that modifies files in the directory/components/ directory
    • Verify the validation workflow runs automatically

Why make this change?

These workflows automate critical maintenance tasks for the component gallery:

  • The weekly refresh ensures component data stays current without manual intervention
  • The validation workflow prevents invalid component definitions from being merged
  • Both workflows improve reliability and reduce manual maintenance overhead

@sfc-gh-bnisco
Copy link
Copy Markdown
Contributor Author

sfc-gh-bnisco commented Jan 27, 2026

Copy link
Copy Markdown

@mayagbarnes mayagbarnes left a comment

Choose a reason for hiding this comment

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

Overall LGTM

Comment thread .github/workflows/validate-component-definitions.yml
Comment thread .github/workflows/run-refresh-pipeline.yml
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_gh_workflows branch 2 times, most recently from eee3176 to 782fed3 Compare January 28, 2026 17:09
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_component_directory_scripts branch from d47eab6 to 3a189b4 Compare January 28, 2026 17:09
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_gh_workflows branch 2 times, most recently from 43a613a to a2ea272 Compare January 29, 2026 17:10
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_component_directory_scripts branch from 3a189b4 to 0c7c242 Compare January 29, 2026 17:10
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_gh_workflows branch from a2ea272 to 000a531 Compare January 29, 2026 17:27
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_component_directory_scripts branch from 0c7c242 to 3615421 Compare January 29, 2026 17:27
@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from 01-26-_feat_add_component_directory_scripts to graphite-base/5 January 29, 2026 17:41
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the 01-26-_feat_add_gh_workflows branch from 000a531 to a9330b0 Compare January 29, 2026 17:41
@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from graphite-base/5 to main January 29, 2026 17:41
@sfc-gh-bnisco sfc-gh-bnisco merged commit b6c9013 into main Jan 29, 2026
4 checks passed
@sfc-gh-bnisco sfc-gh-bnisco deleted the 01-26-_feat_add_gh_workflows branch January 29, 2026 17:41
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