mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ci: rename orchestrator jobs with tier prefixes
Prefix job names with T1-T4 to make the execution order and dependency chain visible at a glance in the GitHub Actions UI. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
parent
d63f47b5b3
commit
06bb7a6e1b
12
.github/workflows/docs-orchestrator.yml
vendored
12
.github/workflows/docs-orchestrator.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
# Detect Changes (PR only)
|
||||
# =============================================================================
|
||||
detect-changes:
|
||||
name: "Detect Changed Paths"
|
||||
name: "T1: Detect Changes"
|
||||
if: github.event_name == 'pull_request'
|
||||
permissions:
|
||||
contents: read
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
# PR Metadata Regen (conditional - only when PR touches source files)
|
||||
# =============================================================================
|
||||
pr-metadata-regen:
|
||||
name: "PR: Generate Metadata"
|
||||
name: "T2: PR Metadata"
|
||||
needs: [detect-changes]
|
||||
if: github.event_name == 'pull_request' && needs.detect-changes.outputs.source_changed == 'true'
|
||||
permissions:
|
||||
@ -111,7 +111,7 @@ jobs:
|
||||
# Push Metadata Regen (main/release branches)
|
||||
# =============================================================================
|
||||
metadata-regen:
|
||||
name: "Push: Generate & Commit Metadata"
|
||||
name: "T2: Metadata Sync"
|
||||
if: github.event_name == 'push'
|
||||
permissions:
|
||||
contents: write
|
||||
@ -200,7 +200,7 @@ jobs:
|
||||
# Link Check
|
||||
# =============================================================================
|
||||
link-check:
|
||||
name: "Check Links"
|
||||
name: "T2: Link Check"
|
||||
needs: [detect-changes, pr-metadata-regen]
|
||||
if: always() && (github.event_name == 'pull_request')
|
||||
permissions:
|
||||
@ -289,7 +289,7 @@ jobs:
|
||||
# Build Site
|
||||
# =============================================================================
|
||||
build-site:
|
||||
name: "Build Site"
|
||||
name: "T3: Build Site"
|
||||
needs: [detect-changes, pr-metadata-regen, metadata-regen, link-check]
|
||||
if: >-
|
||||
always() &&
|
||||
@ -359,7 +359,7 @@ jobs:
|
||||
# Deploy to AWS (push only)
|
||||
# =============================================================================
|
||||
deploy-aws:
|
||||
name: "Deploy to AWS"
|
||||
name: "T4: Deploy"
|
||||
if: github.event_name == 'push'
|
||||
needs: [metadata-regen, build-site]
|
||||
permissions:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user