Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okp4/actions
π Repository for sharing our Github CI/CD workflows
https://github.com/okp4/actions
ci-cd github-actions
Last synced: 4 days ago
JSON representation
π Repository for sharing our Github CI/CD workflows
- Host: GitHub
- URL: https://github.com/okp4/actions
- Owner: okp4
- License: bsd-3-clause
- Created: 2022-05-10T12:09:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-16T09:51:12.000Z (12 months ago)
- Last Synced: 2024-08-01T13:38:05.095Z (3 months ago)
- Topics: ci-cd, github-actions
- Homepage:
- Size: 133 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - okp4/actions - π Repository for sharing our Github CI/CD workflows (Misc)
README
# GitHub actions
> The repository of GitHub CI/CD workflows used @[okp4].
[![status](https://img.shields.io/github/workflow/status/okp4/actions/Lint?style=for-the-badge&logo=github)](https://github.com/okp4/actions/actions/workflows/lint.yml) [![license](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg?style=for-the-badge)](https://opensource.org/licenses/BSD-3-Clause) [![contributor covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge)](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md) [![conventional commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge&logo=conventionalcommits)](https://conventionalcommits.org)
## π‘ Purpose
This is a collection of GitHub Actions that we use for our projects @[OKP4](https://okp4.network) and that can be useful to others.
All the workflows and actions defined in this repository promotes the practices of CI (i.e. Continuous Integration) and CD (Continuous Deployment|Delivery) and enable the automation of operations that cover the following categories:
- Code quality
- Code review
- Dependency management
- Build
- Deployment
- Testing
- Publishing
- Utilities## βοΈ Workflows
The actions are organized around several workflows, described hereafter.
### π Lint
[workflows/lint.yml](src/.github/workflows/lint.yml)
Part of the code quality analysis, ensure the homogeneity of the codebase.
The workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).
### π§ͺ Test
[workflows/test.yml](src/.github/workflows/test.yml)
Executes the tests present in the codebase.
The workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).
### π Build
[workflows/build.yml](src/.github/workflows/build.yml)
Build the different artifacts produced from the codebase.
The workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).
### βοΈ π PR Publish
[workflows/publish-pr.yml](src/.github/workflows/publish-pr.yml)
Publish artifacts based on a branch codebase, by commenting the pull request with `/publish` message.
The workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).
### π Publish
[workflows/publish.yml](src/.github/workflows/publish.yml)
Publish the different artifacts produced from the codebase.
The workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).
### πͺ Auto merge
[workflows/auto-merge.yml](src/.github/workflows/auto-merge.yml)
Automatically merges a Pull request satisfying conditions (i.e. `dependabot` PR targeting minor or patch updates).
### π Give thanks
[workflows/thank.yml](src/.github/workflows/thank.yml)
Give thanks to the used dependencies by starring the corresponding GitHub repositories.
### πΆ βοΈFollow contributor
[workflows/follow-contributor.yml](src/.github/workflows/follow-contributor.yml)
Make sure our [bot](https://github.com/bot-anik) follows anyone opening a PR.
### π Notify release
[workflows/notify-release.yml](src/.github/workflows/notify-release.yml)
This action can be used to spread the word when a new release is available. We use it to send a message to our discord server.
### π¨ Export draw.io
[workflows/export-drawio.yml](src/.github/workflows/export-drawio.yml)
Export [draw.io](https://app.diagrams.net/) diagrams to usable png files.
### βΈοΈ K8S cluster graphs
[workflows/k8s-cluster-graphs.yml](src/.github/workflows/k8s-cluster-graphs.yml)
Create Kubernetes cluster graphs representing its state using the `kubectl` [graph plugin](https://github.com/steveteuber/kubectl-graph).
## π§βπ» Usage
The workflows contain reusable GitHub actions jobs that can be used as a base recipe for your own workflows. Just pick the ones you're interested in and add them to your `.github/workflows/xxxx.yml` workflow file in your repository.
### π‘ Access Token
Most jobs need a specific access token with appropriate permissions to run correctly. This token is named `OKP4_TOKEN`, and is defined at the level of the organization. If needed, read the documentation on creating a [PA token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).
## You want to get involved? π
Please check out OKP4 health files :
- [Contributing](https://github.com/okp4/.github/blob/main/CONTRIBUTING.md)
- [Code of conduct](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)