From 97c774d0a4b1d0d24078037bfc698ed5c5e10d13 Mon Sep 17 00:00:00 2001 From: Sven Greb Date: Sat, 29 Aug 2020 11:00:20 +0200 Subject: [PATCH] Lowercase naming for GitHub Action workflows Even though it is possible to use uppercase names (including whitespaces) for GitHub Action workflows it is best practice for almost every language to use lowercase names. This prevents problems with parsing as well as errors due to lower- and uppercase mismatches. One example is the shields.io [1] SVG badge that is used in the README of this repository: The actual workflow is only found when the name matches the exact notation including lower- and uppercase characters: ```diff - https://img.shields.io/github/workflow/status/svengreb/tmpl/ci.svg + https://img.shields.io/github/workflow/status/svengreb/tmpl/CI.svg ``` To mitigate such problems the name has been changed to lowercase only. [1]: https://shields.io GH-36 --- .github/workflows/ci.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82db1e6..6781292 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ # GitHub Action Workflow for continuous integration jobs. # See https://docs.github.com/en/actions and https://github.com/features/actions for more details. -name: CI +name: ci on: push: branches: diff --git a/README.md b/README.md index a86efbb..b56edb0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

-

+