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
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Change

## Issues

- #{FIXME}

## Summary

{FIXME}

## Changes in action

{FIXME}
14 changes: 14 additions & 0 deletions .github/workflows/always.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "[C]ontinuous [I]ntegration"
on:
push:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
lint:
uses: percebus/github-actions-npm/.github/workflows/npm_run_script.yml@main
with:
script: lint
18 changes: 18 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull Request

# "This run was triggered by the "push" event, which is unsupported.
# Please ensure you are using the "pull_request" event for this workflow."
on:
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: read

jobs:
audit:
uses: percebus/github-actions-npm/.github/workflows/dependency-review.yml@main
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@

##################################
### VisualStudioCode.gitignore ### SRC: https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
##################################

.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
!*.code-workspace

# Built Visual Studio Code Extensions
*.vsix


######################
### Node.gitignore ### SRC: https://github.com/github/gitignore/blob/main/Node.gitignore
######################

# Logs
logs
*.log
Expand Down
2 changes: 2 additions & 0 deletions LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# The UnLicense

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
Expand Down
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,45 @@
# github-actions

[![[C]ontinuous [I]ntegration](https://github.com/percebus/github-actions/actions/workflows/always.yml/badge.svg)](https://github.com/percebus/github-actions/actions/workflows/always.yml) [![Pull Request](https://github.com/percebus/github-actions/actions/workflows/pull_request.yml/badge.svg?event=pull_request)](https://github.com/percebus/github-actions/actions/workflows/pull_request.yml)

GitHub re-usable Actions & Workflows

## Repositories

### Common

| Name | naming | CI | CodeQL | dependency-review | pull_request | Trigger 1x | Tests | semantic-release |
| ----------------------------------------------------------- | ------ | --- | ------ | ----------------- | ------------ | ---------- | ----- | ---------------- |
| [common](https://github.com/percebus/github-actions-common) | ✅ | ✅ | ❌ | ✅ | same | ❌ | ✅ | ❌ |

### Node.js

| Name | naming | CI | CodeQL | dependency-review | pull_request | Trigger 1x | Tests | semantic-release |
| ------------------------------------------------------- | ------ | --- | ------ | ----------------- | ------------ | ---------- | ----- | ---------------- |
| [node](https://github.com/percebus/github-actions-node) | ✅ | ✅ | ❌ | N/A | ⚠️ | ✅ | ✅ | ❌ |
| [npm](https://github.com/percebus/github-actions-npm) | ❌ | ✅ | ❌ | ✅ | ✅ | ❌ | ✅ | ❌ |
| [nvm](https://github.com/percebus/github-actions-nvm) | ✅ | ✅ | ❌ | N/A | ⚠️ | ✅ | ✅ | ❌ |
| [yarn](https://github.com/percebus/github-actions-yarn) | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ | ✅ | ❌ |

### Python

| Name | naming | CI | CodeQL | dependency-review | pull_request | Trigger 1x | Tests | semantic-release |
| ----------------------------------------------------------- | ------ | --- | ------ | ----------------- | ------------ | ---------- | ----- | ---------------- |
| [python](https://github.com/percebus/github-actions-python) | ✅ | ✅ | ❌ | N/A | ❌ | ❌ | ✅ | ❌ |
| [pip](https://github.com/percebus/github-actions-pip) | ✅ | ✅ | ❌ | ❔ | ❌ | ✅ | ✅ | ❌ |
| [pipx](https://github.com/percebus/github-actions-pipx) | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
| [poetry](https://github.com/percebus/github-actions-poetry) | ✅ | ✅ | ❌ | N/A | ❌ | ❌ | ✅ | ❌ |
| [uv](https://github.com/percebus/github-actions-uv) | ✅ | ✅ | ❌ | N/A | ❌ | ✅ | ✅ | ❌ |

### Containerization

| Name | naming | CI | CodeQL | dependency-review | pull_request | Trigger 1x | Tests | semantic-release |
| ------------------------------------------------------------------------------- | ------ | --- | ------ | ----------------- | ------------ | ---------- | ----- | ---------------- |
| [containerization](https://github.com/percebus/github-actions-containerization) | ✅ | ✅ | ❌ | ❔ | ❌ | ❌ | ✅ | ❌ |
| [docker](https://github.com/percebus/github-actions-docker) | ❌ | ✅ | ❌ | ❔ | ❌ | | ✅ | ❌ |

### Testing

| Name | naming | CI | CodeQL | dependency-review | pull_request | Trigger 1x | Tests | semantic-release |
| ------------------------------------------------------------- | ------ | --- | ------ | ----------------- | ------------ | ---------- | ----- | ---------------- |
| [testing](https://github.com/percebus/github-actions-testing) | ✅ | ✅ | ❌ | N/A | ✅ | ❌ | ✅ | ❌ |
5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# github-actions

## TODOs

- [ ] Rename repo to "devops" and also document repo "commons"?
32 changes: 32 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "github-actions",
"version": "0.1.0",
"description": "GitHub re-usable Actions & Workflows",
"main": "index.js",
"scripts": {
"_prettier": "prettier .",
"prettier:write": "npm run _prettier -- --write",
"prettier:check": "npm run _prettier -- --check",
"lint": "npm run prettier:check",
"style": "npm run prettier:write",
"poststyle": "npm run lint",
"pretest": "npm run lint",
"test": "exit 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/percebus/github-actions.git"
},
"keywords": [
"GitHub",
"actions",
"workflows"
],
"author": "JCystems",
"license": "SEE LICENSE IN LICENSE.md",
"bugs": {
"url": "https://github.com/percebus/github-actions/issues"
},
"homepage": "https://github.com/percebus/github-actions#readme",
"devDependencies": {
"prettier": "^3.6.2"
}
}