Skip to main content

GitHub Actions Workflow Diagram

Overview​

This document describes all GitHub Actions workflows and their relationships.


Workflow Diagram​


Trigger Summary​

Trigger TypeWorkflows
push: mainMain Validations, Sync — HP
pull_requestPR workflows, Clean Deployment (on close)
schedule (cron)Staging Validations (9 AM & 3 PM EST)
workflow_call (reusable)release.yml, electron-release.yml, main-sync-to-staging.yml
workflow_dispatch (manual)All workflows support manual trigger


Key Flow: Main → Staging Sync​

Developer pushes to main
│
▼
┌─────────────────────┐
│ main-build-&-deploy │
│ triggers │
└──────────┬──────────┘
│
▼
┌──────────────┐
│ validations │
└──────┬───────┘
│
▼
┌──────────────┐
│ release │ ──► Creates version commit (e.g., v1.17.0)
└──────┬───────┘
│
▼
┌──────────────────┐
│ electron-release │ ──► Creates electron version commit [skip ci]
└──────────┬───────┘
│
▼
┌──────────────────────┐
│ sync-to-staging │ ──► Merges ALL commits (including versions) to staging
│ │
│ Runs if release │
│ succeeded, regardless│
│ of electron-release │
└──────────────────────┘
│
▼
staging branch
now has all
version commits

File Reference​

Workflow FileDisplay Name
main-build-&-deploy.ymlMain Validations
staging-build-&-deploy.ymlStaging Validations
main-sync-to-staging.ymlSync — staging
hp-sync.ymlSync — HP
pr-hpchannels.ymlPR workflows
cleanup.ymlClean Deployment
release.ymlRelease HP Web Version
electron-release.ymlRelease HP Electron Version
figma_to_styles.ymlSync Figma variables to tokens
Build-&-Deploy-HP-Channels-doc.ymlHP-Channels-doc: Build & Deploy
Build-&-Deploy-HP-Channels-prod.ymlHP-Channels-prod: Build & Deploy
Build-&-Deploy-HP-Channels-storybook.ymlHP-Channels-storybook: Build & Deploy