From fbc84ed7b339f74fc21f0334081d8d7c46228ef5 Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Fri, 11 Jul 2025 14:45:30 +0200 Subject: [PATCH] chore: improve branding Signed-off-by: Emilien Escalle --- .github/ghadocs/branding.svg | 91 +++++++++++++++++++ .github/ghadocs/social-preview.svg | 84 +++++++++++++++++ .github/workflows/need-fix-to-issue.md | 4 + README.md | 7 +- _config.yml | 1 - actions/checkout/action.yml | 4 +- .../create-and-merge-pull-request/action.yml | 4 +- actions/create-or-update-comment/action.yml | 4 +- .../get-github-actions-bot-user/action.yml | 4 +- actions/get-issue-number/action.yml | 4 +- actions/get-matrix-outputs/action.yml | 4 +- .../action.yml | 4 +- actions/set-matrix-output/action.yml | 2 +- actions/slugify/action.yml | 4 +- 14 files changed, 202 insertions(+), 19 deletions(-) create mode 100644 .github/ghadocs/branding.svg create mode 100644 .github/ghadocs/social-preview.svg delete mode 100644 _config.yml diff --git a/.github/ghadocs/branding.svg b/.github/ghadocs/branding.svg new file mode 100644 index 00000000..76cdf61c --- /dev/null +++ b/.github/ghadocs/branding.svg @@ -0,0 +1,91 @@ + + + + diff --git a/.github/ghadocs/social-preview.svg b/.github/ghadocs/social-preview.svg new file mode 100644 index 00000000..6545a6a7 --- /dev/null +++ b/.github/ghadocs/social-preview.svg @@ -0,0 +1,84 @@ + + + +By hoverkraftCommonCI - GitHub diff --git a/.github/workflows/need-fix-to-issue.md b/.github/workflows/need-fix-to-issue.md index 58010ceb..3eacb98c 100644 --- a/.github/workflows/need-fix-to-issue.md +++ b/.github/workflows/need-fix-to-issue.md @@ -41,6 +41,10 @@ permissions: contents: read issues: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: main: uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@0.22.3 diff --git a/README.md b/README.md index 72522b28..ec3dd822 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ -# Continuous Integration - GitHub - Common + +
+ +# branding<icon:anchor color:gray-dark> GitHub Action: Docker Compose Action [![Continuous Integration](https://github.com/hoverkraft-tech/ci-github-common/actions/workflows/__main-ci.yml/badge.svg)](https://github.com/hoverkraft-tech/ci-github-common/actions/workflows/__main-ci.yml) [![GitHub tag](https://img.shields.io/github/tag/hoverkraft-tech/ci-github-common?include_prereleases=&sort=semver&color=blue)](https://github.com/hoverkraft-tech/ci-github-common/releases/) [![License](https://img.shields.io/badge/License-MIT-blue)](#license) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) +
+ Opinionated GitHub Actions and workflows for common continuous integration needs --- diff --git a/_config.yml b/_config.yml deleted file mode 100644 index d511e2df..00000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -remote_theme: "hoverkraft-tech/jekyll-theme" diff --git a/actions/checkout/action.yml b/actions/checkout/action.yml index a763d800..2f15292a 100644 --- a/actions/checkout/action.yml +++ b/actions/checkout/action.yml @@ -1,9 +1,9 @@ name: "Checkout" description: "Action to checkout the repository compatible for PRs, issues and push events. Workaround for [https://github.com/actions/checkout/issues/331](https://github.com/actions/checkout/issues/331)" -author: Hoverkraft +author: hoverkraft branding: icon: git-branch - color: gray-dark + color: blue inputs: fetch-depth: diff --git a/actions/create-and-merge-pull-request/action.yml b/actions/create-and-merge-pull-request/action.yml index 40402afc..bd649dbd 100644 --- a/actions/create-and-merge-pull-request/action.yml +++ b/actions/create-and-merge-pull-request/action.yml @@ -1,9 +1,9 @@ name: "Create and merge Pull Request" description: "Action to create and merge Pull Request. Opinionated, set GitHub Actions bot as author, then rebase and merge." -author: Hoverkraft +author: hoverkraft branding: icon: git-pull-request - color: gray-dark + color: blue inputs: github-token: diff --git a/actions/create-or-update-comment/action.yml b/actions/create-or-update-comment/action.yml index 3ed39a56..a63a8c55 100644 --- a/actions/create-or-update-comment/action.yml +++ b/actions/create-or-update-comment/action.yml @@ -1,9 +1,9 @@ name: "Create or update comment" description: "Action to create or update comment in pull request or issue" -author: Hoverkraft +author: hoverkraft branding: icon: message-square - color: gray-dark + color: blue inputs: title: diff --git a/actions/get-github-actions-bot-user/action.yml b/actions/get-github-actions-bot-user/action.yml index 597bfb69..817e5cf6 100644 --- a/actions/get-github-actions-bot-user/action.yml +++ b/actions/get-github-actions-bot-user/action.yml @@ -1,9 +1,9 @@ name: "Get GitHub Actions bot user" description: "Action to get the GitHub Actions bot user informations. Usefull to commit, comment, etc." -author: Hoverkraft +author: hoverkraft branding: icon: user-check - color: gray-dark + color: blue outputs: email: diff --git a/actions/get-issue-number/action.yml b/actions/get-issue-number/action.yml index cb9cb07e..a19834fd 100644 --- a/actions/get-issue-number/action.yml +++ b/actions/get-issue-number/action.yml @@ -1,9 +1,9 @@ name: "Get issue number" description: "Action to get Pull request or issue number" -author: Hoverkraft +author: hoverkraft branding: icon: hash - color: gray-dark + color: blue outputs: issue-number: diff --git a/actions/get-matrix-outputs/action.yml b/actions/get-matrix-outputs/action.yml index 91ad9eca..6af985e1 100644 --- a/actions/get-matrix-outputs/action.yml +++ b/actions/get-matrix-outputs/action.yml @@ -3,10 +3,10 @@ name: "Get matrix ouput" description: "Download matrix ouputs from artifacts, because GitHub Action does not handle job outputs for matrix" -author: Hoverkraft +author: hoverkraft branding: icon: download-cloud - color: gray-dark + color: blue inputs: artifact-name: diff --git a/actions/repository-owner-is-organization/action.yml b/actions/repository-owner-is-organization/action.yml index fcd874e4..1d098a53 100644 --- a/actions/repository-owner-is-organization/action.yml +++ b/actions/repository-owner-is-organization/action.yml @@ -1,9 +1,9 @@ name: "Repository owner is organization" description: "Action to check if the repository owner is an organization." -author: Hoverkraft +author: hoverkraft branding: icon: users - color: gray-dark + color: blue inputs: github-token: diff --git a/actions/set-matrix-output/action.yml b/actions/set-matrix-output/action.yml index 6261e331..9bcd1f49 100644 --- a/actions/set-matrix-output/action.yml +++ b/actions/set-matrix-output/action.yml @@ -28,7 +28,7 @@ runs: with: script: | const { join } = require('path'); - const { existsSync, writeFileSync } = require('fs'); + const { writeFileSync } = require('fs'); const { randomUUID } = require('crypto'); const artifactName = `${{ github.run_id }}-${{ github.run_number }}-${{ inputs.artifact-name }}`; diff --git a/actions/slugify/action.yml b/actions/slugify/action.yml index 76b97f84..7def504c 100644 --- a/actions/slugify/action.yml +++ b/actions/slugify/action.yml @@ -1,9 +1,9 @@ name: "Slugify" description: "Action to slugify a given string value" -author: Hoverkraft +author: hoverkraft branding: icon: link-2 - color: gray-dark + color: blue inputs: value: