{"id":13567367,"url":"https://github.com/okp4/actions","last_synced_at":"2025-04-04T01:31:52.245Z","repository":{"id":36958572,"uuid":"490680405","full_name":"okp4/actions","owner":"okp4","description":"🏭 Repository for sharing our Github CI/CD workflows ","archived":false,"fork":false,"pushed_at":"2023-11-16T09:51:12.000Z","size":136,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-04T22:36:55.598Z","etag":null,"topics":["ci-cd","github-actions"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okp4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-10T12:09:58.000Z","updated_at":"2022-06-15T09:53:05.000Z","dependencies_parsed_at":"2023-11-16T10:47:13.667Z","dependency_job_id":null,"html_url":"https://github.com/okp4/actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"okp4/template-oss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okp4%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okp4%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okp4%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okp4%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okp4","download_url":"https://codeload.github.com/okp4/actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107816,"owners_count":20884793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","github-actions"],"created_at":"2024-08-01T13:02:29.688Z","updated_at":"2025-04-04T01:31:47.231Z","avatar_url":"https://github.com/okp4.png","language":null,"funding_links":[],"categories":["Misc"],"sub_categories":[],"readme":"# GitHub actions\n\n\u003e The repository of GitHub CI/CD workflows used @[okp4].\n\n[![status](https://img.shields.io/github/workflow/status/okp4/actions/Lint?style=for-the-badge\u0026logo=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\u0026logo=conventionalcommits)](https://conventionalcommits.org)\n\n## 💡 Purpose\n\nThis is a collection of GitHub Actions that we use for our projects @[OKP4](https://okp4.network) and that can be useful to others.\n\nAll 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:\n\n- Code quality\n- Code review\n- Dependency management\n- Build\n- Deployment\n- Testing\n- Publishing\n- Utilities\n\n## ⚙️ Workflows\n\nThe actions are organized around several workflows, described hereafter.\n\n### 💚 Lint\n\n[workflows/lint.yml](src/.github/workflows/lint.yml)\n\nPart of the code quality analysis, ensure the homogeneity of the codebase.\n\nThe workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).\n\n### 🧪 Test\n\n[workflows/test.yml](src/.github/workflows/test.yml)\n\nExecutes the tests present in the codebase.\n\nThe workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).\n\n### 🏭 Build\n\n[workflows/build.yml](src/.github/workflows/build.yml)\n\nBuild the different artifacts produced from the codebase.\n\nThe workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).\n\n### ☎️ 🚀 PR Publish\n\n[workflows/publish-pr.yml](src/.github/workflows/publish-pr.yml)\n\nPublish artifacts based on a branch codebase, by commenting the pull request with `/publish` message.\n\nThe workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).\n\n### 🚀 Publish\n\n[workflows/publish.yml](src/.github/workflows/publish.yml)\n\nPublish the different artifacts produced from the codebase.\n\nThe workflow contains a large set of jobs to deal with different project typologies (technology, programming language...).\n\n### 🪄 Auto merge\n\n[workflows/auto-merge.yml](src/.github/workflows/auto-merge.yml)\n\nAutomatically merges a Pull request satisfying conditions (i.e. `dependabot` PR targeting minor or patch updates).\n\n### 🙏 Give thanks\n\n[workflows/thank.yml](src/.github/workflows/thank.yml)\n\nGive thanks to the used dependencies by starring the corresponding GitHub repositories.\n\n### 🚶 ‍️Follow contributor\n\n[workflows/follow-contributor.yml](src/.github/workflows/follow-contributor.yml)\n\nMake sure our [bot](https://github.com/bot-anik) follows anyone opening a PR.\n\n### 🎉 Notify release\n\n[workflows/notify-release.yml](src/.github/workflows/notify-release.yml)\n\nThis 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.\n\n### 🎨 Export draw.io\n\n[workflows/export-drawio.yml](src/.github/workflows/export-drawio.yml)\n\nExport [draw.io](https://app.diagrams.net/) diagrams to usable png files.\n\n### ☸️ K8S cluster graphs\n\n[workflows/k8s-cluster-graphs.yml](src/.github/workflows/k8s-cluster-graphs.yml)\n\nCreate Kubernetes cluster graphs representing its state using the `kubectl` [graph plugin](https://github.com/steveteuber/kubectl-graph).\n\n## 🧑‍💻 Usage\n\nThe 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.\n\n### 🛡 Access Token\n\nMost 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).\n\n## You want to get involved? 😍\n\nPlease check out OKP4 health files :\n\n- [Contributing](https://github.com/okp4/.github/blob/main/CONTRIBUTING.md)\n- [Code of conduct](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokp4%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokp4%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokp4%2Factions/lists"}