Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions .github/ghadocs/branding.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions .github/ghadocs/social-preview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions .github/workflows/need-fix-to-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Continuous Integration - GitHub - Common
<!-- markdownlint-disable-next-line first-line-heading -->
<div align="center" width="100%">

# <img src=".github/ghadocs/branding.svg" width="60px" align="center" alt="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)

</div>

Opinionated GitHub Actions and workflows for common continuous integration needs

---
Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

4 changes: 2 additions & 2 deletions actions/checkout/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions actions/create-and-merge-pull-request/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions actions/create-or-update-comment/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions actions/get-github-actions-bot-user/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions actions/get-issue-number/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions actions/get-matrix-outputs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions actions/repository-owner-is-organization/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion actions/set-matrix-output/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}`;
Expand Down
4 changes: 2 additions & 2 deletions actions/slugify/action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Loading