ci(workflows): name workflows for GitHub's lists

Every scheduled workflow opened with an alarm clock, so the Actions list
read as a column of identical icons that said nothing about the run. The
clock now lives in run-name behind github.event_name == 'schedule', where
it marks the one thing it can mark: a run nobody triggered. The name says
what the run does, in two or three words.

The dispatch menu shows names in one narrow column and truncates them, so
a new lint caps a workflow_dispatch name at 25 characters and points the
longer, explanatory wording at run-name, which carries no such limit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5 committed 2026-08-22 11:18:54 +02:00
1 parent 7b5c462af2
commit e7fadf02fe
15 files changed
+141 -27

No files matched your search

+2 -1
View File
@@ -11,7 +11,8 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "⏰ Scan: CodeQL (Advanced)"
name: "🔐 Scan with CodeQL"
run-name: "${{ github.event_name == 'schedule' && '⏰ ' || '' }}🔐 Scan with CodeQL"
concurrency:
group: codeql-${{ github.repository }}-${{ github.ref }}