ci: organize GitHub Actions into meaningful categories
Reorganize workflow files and names into 3 main categories: - Data: Data collection and synchronization workflows - Infrastructure: Infrastructure tasks (mirroring, forking) - Maintenance: All PR checks, labels, notifications, and maintenance tasks All workflows now have capitalized category prefixes for consistency. Also update internal workflow references to reflect new names.
This commit is contained in:
parent
160688703e
commit
7a58d69b7d
@ -1,4 +1,4 @@
|
||||
name: Sync Jira
|
||||
name: "Data: Create Jira ticket"
|
||||
run-name: 'Sync Jira - Issue #${{ github.event.issue.number }} ("${{ github.event.issue.title }}")'
|
||||
|
||||
on:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Sync board list
|
||||
name: "Data: Sync board list"
|
||||
run-name: Update board list at armbian/os
|
||||
|
||||
on:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Sync labels
|
||||
name: "Data: Sync labels"
|
||||
run-name: Sync Labels from YML on ${{ github.event_name }}
|
||||
|
||||
on:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Sync maintainers
|
||||
name: "Data: Sync maintainers"
|
||||
|
||||
# Script connects to the contacts database once per hour and updates BOARD_MAINTAINER property in the board config files.
|
||||
# If there are any changes, it opens a Pull Request
|
||||
@ -1,4 +1,4 @@
|
||||
name: Sync tools
|
||||
name: "Data: Sync tools"
|
||||
run-name: Update Tools in Scripts by @${{ github.actor }}
|
||||
#
|
||||
# Some of our scripts download tools from a repo. These can't be bumped by dependabot, so this workflow is a self-created dependabot to bump versions of those tools to stay up-to-date.
|
||||
@ -1,4 +1,4 @@
|
||||
name: Help forks
|
||||
name: "Infrastructure: Dispatch to fork"
|
||||
run-name: Forked Helper dispatch on ${{ github.event_name }}
|
||||
|
||||
on:
|
||||
@ -1,5 +1,5 @@
|
||||
# Pushes the contents of the repo to the Codeberg mirror
|
||||
name: Mirror to Codeberg
|
||||
name: "Infrastructure: Mirror to Codeberg"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -1,4 +1,4 @@
|
||||
name: Announce merge
|
||||
name: "Maintenance: Announce merge"
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Announce PR
|
||||
name: "Maintenance: Announce PR"
|
||||
run-name: 'Announce PR #${{ github.event.pull_request.number }} on Discord for review'
|
||||
|
||||
on:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Auto-label PR
|
||||
name: "Maintenance: Auto-label PR"
|
||||
|
||||
# Sets labels automatically based on:
|
||||
# - PR size (job: label-size)
|
||||
@ -1,4 +1,4 @@
|
||||
name: Build PR artifacts
|
||||
name: "Maintenance: Build artifacts"
|
||||
run-name: "Generate artifacts - PR #${{ github.event.pull_request.number }} - by @${{ github.actor }}"
|
||||
#
|
||||
# If PR is labeled with "Build" and you are a member of "Release manager" team it will start a build train (additional security feature).
|
||||
@ -1,4 +1,4 @@
|
||||
name: Check PR assets
|
||||
name: "Maintenance: Check board assets"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Analyze kernel security
|
||||
name: "Maintenance: Analyze kernel security"
|
||||
run-name: 'Check kernel security options - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
|
||||
#
|
||||
# Check the Linux kernel options against security hardening
|
||||
@ -1,4 +1,4 @@
|
||||
name: Clean workflow logs
|
||||
name: "Maintenance: Clean workflow logs"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@ -1,7 +1,7 @@
|
||||
name: Label PR on approval
|
||||
name: "Maintenance: Label PR on approval"
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Listen PR review"]
|
||||
workflows: ["Maintenance: Listen PR review"]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Lint scripts
|
||||
name: "Maintenance: Lint scripts"
|
||||
run-name: 'Shellcheck - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
|
||||
#
|
||||
# Run ShellCheck on all scripts and generate report as build artifact
|
||||
@ -1,4 +1,4 @@
|
||||
name: Listen PR review
|
||||
name: "Maintenance: Listen PR review"
|
||||
on:
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
@ -1,4 +1,4 @@
|
||||
name: Rewrite kernel configs
|
||||
name: "Maintenance: Rewrite kernel configs"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@ -242,7 +242,7 @@ jobs:
|
||||
echo
|
||||
echo "### How it was produced"
|
||||
echo
|
||||
echo "This PR is produced from [this](/armbian/build/tree/main/.github/workflows/rewrite-kernel-config-files.yml) GHA script."
|
||||
echo "This PR is produced from [this](/armbian/build/tree/main/.github/workflows/maintenance-rewrite-kernel-configs.yml) GHA script."
|
||||
echo
|
||||
echo "1. Built a matrix: \`./compile.sh inventory-boards\` (deduped, sanitized)."
|
||||
echo "2. Executed \`rewrite-kernel-config\` per matrix."
|
||||
@ -1,4 +1,4 @@
|
||||
name: Scan security
|
||||
name: "Maintenance: Security scan"
|
||||
run-name: Scan scorecards security on ${{ github.event_name }}
|
||||
|
||||
on:
|
||||
@ -1,7 +1,7 @@
|
||||
#
|
||||
# This action recreate action for building stable images
|
||||
#
|
||||
name: Watchdog
|
||||
name: "Maintenance: Watchdog"
|
||||
on:
|
||||
schedule:
|
||||
- cron: '*/30 * * * *'
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
matrix:
|
||||
|
||||
# list scripts you want to watch and execute failed jobs x-times
|
||||
script: ["rewrite-kernel-config-files"]
|
||||
script: ["maintenance-rewrite-kernel-configs"]
|
||||
|
||||
name: R
|
||||
runs-on: ubuntu-latest
|
||||
@ -1,4 +1,4 @@
|
||||
name: Welcome first-time contributor
|
||||
name: "Maintenance: Welcome first-time issue contributor"
|
||||
|
||||
on:
|
||||
issues:
|
||||
@ -1,4 +1,4 @@
|
||||
name: Welcome first-time PR contributor
|
||||
name: "Maintenance: Welcome first-time PR contributor"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
Loading…
Reference in New Issue
Block a user