{"id":46269927,"url":"https://github.com/devantler-tech/reusable-workflows","last_synced_at":"2026-03-04T03:02:11.612Z","repository":{"id":305229335,"uuid":"1022337231","full_name":"devantler-tech/reusable-workflows","owner":"devantler-tech","description":"Reusable workflows designed to streamline CI/CD processes.","archived":false,"fork":false,"pushed_at":"2026-02-24T15:52:12.000Z","size":383,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-25T13:26:45.597Z","etag":null,"topics":["ci-cd"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devantler-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-18T21:49:02.000Z","updated_at":"2026-02-24T15:58:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c9f730c-129d-4043-bf31-1f3c1cca7089","html_url":"https://github.com/devantler-tech/reusable-workflows","commit_stats":null,"previous_names":["devantler-tech/reusable-workflows"],"tags_count":119,"template":false,"template_full_name":null,"purl":"pkg:github/devantler-tech/reusable-workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devantler-tech%2Freusable-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devantler-tech%2Freusable-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devantler-tech%2Freusable-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devantler-tech%2Freusable-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devantler-tech","download_url":"https://codeload.github.com/devantler-tech/reusable-workflows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devantler-tech%2Freusable-workflows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"],"created_at":"2026-03-04T03:02:11.016Z","updated_at":"2026-03-04T03:02:11.605Z","avatar_url":"https://github.com/devantler-tech.png","language":null,"readme":"# DevantlerTech GitHub Reusable Workflows 🚀\n\n\u003e [!NOTE]\n\u003e To see DevantlerTech's Actions, please visit the [devantler-tech/actions](https://github.com/devantler-tech/actions) repository.\n\nWelcome to the DevantlerTech GitHub Reusable Workflows repository! This repository contains [reusable workflows](#reusable-workflows) designed to streamline your CI/CD processes. These actions are used across all DevantlerTech projects, ensuring consistency and efficiency.\n\nThe below diagram illustrates the relationship between GitHub Workflows and GitHub Actions.\n\n```mermaid\n---\ntitle: GitHub Actions Relationship Diagram\n---\nflowchart TD\n  A[Workflows] --\u003e B[Jobs]\n  B --\u003e C([***Reusable Workflows***])\n  B --\u003e D[Steps]\n  C --\u003e D\n  C --\u003e B\n  D --\u003e E[Actions]\n  E -.- F([Composite Actions])\n  F --\u003e D\n  E -.- G([JavaScript Actions])\n  E -.- H([Docker Container Actions])\n```\n\n## Reusable Workflows\n\n[Reusable workflows](https://docs.github.com/en/actions/how-tos/sharing-automations/reuse-workflows#creating-a-reusable-workflow) are designed to encapsulate common CI/CD patterns that can be shared across multiple repositories. They allow you to define a workflow once and reuse it in the job-scope of other workflows. This reduces duplication and enables building generic workflows for common tasks.\n\n### CD - Cluster Bootstrap\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/cd-cluster-bootstrap.yaml](.github/workflows/cd-cluster-bootstrap.yaml) is a workflow used to bootstrap a cluster on the DevantlerTech platform. It installs core components like Cilium and Flux.\n\n#### Usage\n\nTo use this reusable workflow, you can include it in your workflow file as follows:\n\n```yaml\njobs:\n  bootstrap-cluster:\n    uses: devantler-tech/reusable-workflows/.github/workflows/cd-cluster-bootstrap.yaml@{ref} # ref\n    secrets:\n      KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}\n      SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}\n    with:\n      DEPLOYMENT_ENV: dev\n```\n\n#### Secrets and Inputs\n\n| Key              | Type           | Default | Required | Description            |\n|------------------|----------------|---------|----------|------------------------|\n| `KUBE_CONFIG`    | Secret         | -       | ✅        | Kubernetes config file |\n| `SOPS_AGE_KEY`   | Secret         | -       | ✅        | Age key for SOPS       |\n| `DEPLOYMENT_ENV` | Input (string) | `dev`   | ✅        | Deployment environment |\n\n\u003c/details\u003e\n\n### CD - .NET Application Publish\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/cd-dotnet-application-publish.yaml](.github/workflows/cd-dotnet-application-publish.yaml) is a workflow used to publish .NET applications.\n\n#### Usage\n\n```yaml\njobs:\n  publish-application:\n    uses: devantler-tech/reusable-workflows/.github/workflows/cd-dotnet-application-publish.yaml@{ref} # ref\n    secrets:\n      NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}\n```\n\n#### Secrets and Inputs\n\n| Key             | Type   | Default | Required | Description   |\n|-----------------|--------|---------|----------|---------------|\n| `NUGET_API_KEY` | Secret | -       | ✅        | NuGet API key |\n\n\u003c/details\u003e\n\n### CD - .NET Library Publish\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/cd-dotnet-library-publish.yaml](.github/workflows/cd-dotnet-library-publish.yaml) is a workflow used to publish .NET libraries to NuGet and GHCR.\n\n#### Usage\n\n```yaml\njobs:\n  publish-library:\n    uses: devantler-tech/reusable-workflows/.github/workflows/cd-dotnet-library-publish.yaml@{ref} # ref\n    secrets:\n      NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}\n```\n\n#### Secrets and Inputs\n\n| Key             | Type   | Default | Required | Description   |\n|-----------------|--------|---------|----------|---------------|\n| `NUGET_API_KEY` | Secret | -       | ✅        | NuGet API key |\n\n\u003c/details\u003e\n\n### CD - GitOps Deploy\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/cd-gitops-deploy.yaml](.github/workflows/cd-gitops-deploy.yaml) is a workflow used to deploy applications using GitOps with Flux.\n\n#### Usage\n\n```yaml\njobs:\n  gitops-deploy:\n    uses: devantler-tech/reusable-workflows/.github/workflows/cd-gitops-deploy.yaml@{ref} # ref\n    secrets:\n      KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}\n      SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}\n    with:\n      DEPLOYMENT_ENV: dev\n```\n\n#### Secrets and Inputs\n\n| Key              | Type           | Default | Required | Description            |\n|------------------|----------------|---------|----------|------------------------|\n| `KUBE_CONFIG`    | Secret         | -       | ✅        | Kubernetes config file |\n| `SOPS_AGE_KEY`   | Secret         | -       | ✅        | Age key for SOPS       |\n| `DEPLOYMENT_ENV` | Input (string) | `dev`   | ✅        | Deployment environment |\n\n\u003c/details\u003e\n\n### CD - Pages Publish\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/cd-pages-publish.yaml](.github/workflows/cd-pages-publish.yaml) is a workflow used to build and publish a Jekyll site to GitHub Pages.\n\n#### Usage\n\n```yaml\njobs:\n  pages:\n    uses: devantler-tech/reusable-workflows/.github/workflows/cd-pages-publish.yaml@{ref} # ref\n    with:\n      ruby-version: \"3.3\" # optional\n      jekyll-env: production # optional\n      extra-build-args: \"\" # optional, e.g. '--future'\n      working-directory: \".\" # optional, e.g. 'docs' if Jekyll site is in a subdirectory\n```\n\n#### Secrets and Inputs\n\n| Key                 | Type           | Default      | Required | Description                                                     |\n|---------------------|----------------|--------------|----------|-----------------------------------------------------------------|\n| `ruby-version`      | Input (string) | `3.3`        | ❌        | Ruby version to install                                         |\n| `jekyll-env`        | Input (string) | `production` | ❌        | Jekyll environment                                              |\n| `extra-build-args`  | Input (string) | `\"\"`         | ❌        | Extra args appended before the automatically supplied --baseurl |\n| `working-directory` | Input (string) | `\".\"`        | ❌        | Working directory for the Jekyll site (e.g., 'docs')            |\n\n#### Outputs\n\n| Key        | Description             |\n|------------|-------------------------|\n| `page_url` | Deployed Pages site URL |\n\n\u003c/details\u003e\n\n### CI - Auto Merge\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/ci-auto-merge.yaml](.github/workflows/ci-auto-merge.yaml) is a workflow that automatically merges pull requests from trusted bots and maintainers.\n\n#### Usage\n\n```yaml\njobs:\n  auto-merge:\n    uses: devantler-tech/reusable-workflows/.github/workflows/ci-auto-merge.yaml@{ref} # ref\n```\n\n\u003c/details\u003e\n\n### CI - .NET Test\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/ci-dotnet-test.yaml](.github/workflows/ci-dotnet-test.yaml) is a workflow used to test .NET solutions or projects across multiple operating systems.\n\n#### Usage\n\n```yaml\njobs:\n  dotnet-test:\n    uses: devantler-tech/reusable-workflows/.github/workflows/ci-dotnet-test.yaml@{ref} # ref\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n```\n\n#### Secrets and Inputs\n\n| Key             | Type   | Default | Required | Description   |\n|-----------------|--------|---------|----------|---------------|\n| `CODECOV_TOKEN` | Secret | -       | ✅        | Codecov token |\n\n\u003c/details\u003e\n\n### CI - Docs\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/ci-docs.yaml](.github/workflows/ci-docs.yaml) is a workflow used to lint documentation files using the MegaLinter documentation flavor.\n\n#### Usage\n\n```yaml\njobs:\n  docs-lint:\n    uses: devantler-tech/reusable-workflows/.github/workflows/ci-docs.yaml@{ref} # ref\n    secrets:\n      APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}\n```\n\n#### Secrets and Inputs\n\n| Key               | Type   | Default | Required | Description            |\n|-------------------|--------|---------|----------|------------------------|\n| `APP_PRIVATE_KEY` | Secret | -       | ✅        | GitHub App private key |\n\n\u003c/details\u003e\n\n### CI - Go\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/ci-go.yaml](.github/workflows/ci-go.yaml) is a workflow used to lint and test Go projects across multiple operating systems.\n\n#### Features\n\n- **Automated Linting**: Runs `golangci-lint` and `mega-linter` to ensure code quality\n- **Auto-fix**: Automatically applies linter fixes and commits them\n- **Copilot Integration**: When linting fails, automatically prompts Copilot on the PR to fix the remaining issues\n\n#### Usage\n\n```yaml\njobs:\n  go-test:\n    uses: devantler-tech/reusable-workflows/.github/workflows/ci-go.yaml@{ref} # ref\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}\n    with:\n      working-directory: \"./\" # optional\n```\n\n#### Secrets and Inputs\n\n| Key                 | Type           | Default | Required | Description                                                          |\n|---------------------|----------------|---------|----------|----------------------------------------------------------------------|\n| `CODECOV_TOKEN`     | Secret         | -       | ❌        | Codecov token                                                        |\n| `APP_PRIVATE_KEY`   | Secret         | -       | ✅        | GitHub App private key for authenticating the workflow               |\n| `working-directory` | Input (string) | `./`    | ❌        | Working directory for Go commands (e.g., 'src' if go.mod is in src/) |\n\n\u003c/details\u003e\n\n### CI - GitOps Test\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/ci-gitops-test.yaml](.github/workflows/ci-gitops-test.yaml) is a workflow used to test GitOps configurations with Flux.\n\n#### Usage\n\n```yaml\njobs:\n  gitops-test:\n    uses: devantler-tech/reusable-workflows/.github/workflows/ci-gitops-test.yaml@{ref} # ref\n    secrets:\n      KSAIL_SOPS_KEY: ${{ secrets.KSAIL_SOPS_KEY }}\n    with:\n      HOSTS_FILE: hosts\n      ROOT_CA_CERT_FILE: root-ca.crt\n```\n\n#### Secrets and Inputs\n\n| Key                 | Type           | Default | Required | Description                      |\n|---------------------|----------------|---------|----------|----------------------------------|\n| `KSAIL_SOPS_KEY`    | Secret         | -       | ❌        | SOPS Age key for KSail           |\n| `HOSTS_FILE`        | Input (string) | -       | ❌        | Path to hosts file for testing   |\n| `ROOT_CA_CERT_FILE` | Input (string) | -       | ❌        | Path to root CA certificate file |\n\n\u003c/details\u003e\n\n### CI - GitOps Validate\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/ci-gitops-validate.yaml](.github/workflows/ci-gitops-validate.yaml) is a workflow used to validate GitOps cluster configurations.\n\n#### Usage\n\n```yaml\njobs:\n  gitops-validate:\n    uses: devantler-tech/reusable-workflows/.github/workflows/ci-gitops-validate.yaml@{ref} # ref\n```\n\n\u003c/details\u003e\n\n### Release\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/release.yaml](.github/workflows/release.yaml) is a workflow used to create releases using semantic-release.\n\n#### Usage\n\n```yaml\njobs:\n  release:\n    uses: devantler-tech/reusable-workflows/.github/workflows/release.yaml@{ref} # ref\n    secrets:\n      APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}\n```\n\n#### Secrets and Inputs\n\n| Key               | Type   | Default | Required | Description            |\n|-------------------|--------|---------|----------|------------------------|\n| `APP_PRIVATE_KEY` | Secret | -       | ✅        | GitHub App private key |\n\n\u003c/details\u003e\n\n### Sync Cluster Policies\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/sync-cluster-policies.yaml](.github/workflows/sync-cluster-policies.yaml) is a workflow used to sync upstream Kyverno policies to a target directory.\n\n#### Usage\n\n```yaml\njobs:\n  sync-cluster-policies:\n    uses: devantler-tech/reusable-workflows/.github/workflows/sync-cluster-policies.yaml@{ref} # ref\n    secrets:\n      APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}\n    with:\n      KYVERNO_POLICIES_DIR: policies/kyverno\n```\n\n#### Secrets and Inputs\n\n| Key                    | Type           | Default | Required | Description                           |\n|------------------------|----------------|---------|----------|---------------------------------------|\n| `APP_PRIVATE_KEY`      | Secret         | -       | ✅        | GitHub App private key                |\n| `KYVERNO_POLICIES_DIR` | Input (string) | -       | ✅        | Directory to sync Kyverno policies to |\n\n\u003c/details\u003e\n\n### TODOs\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/todos.yaml](.github/workflows/todos.yaml) is a workflow used to scan for TODOs in code and create GitHub issues.\n\n#### Usage\n\n```yaml\njobs:\n  todos:\n    uses: devantler-tech/reusable-workflows/.github/workflows/todos.yaml@{ref} # ref\n    secrets:\n      APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}\n```\n\n#### Secrets and Inputs\n\n| Key               | Type   | Default | Required | Description            |\n|-------------------|--------|---------|----------|------------------------|\n| `APP_PRIVATE_KEY` | Secret | -       | ✅        | GitHub App private key |\n\n\u003c/details\u003e\n\n### Zizmor\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n[.github/workflows/zizmor.yaml](.github/workflows/zizmor.yaml) is a workflow used to perform static analysis on GitHub Actions workflows.\n\n#### Usage\n\n```yaml\njobs:\n  zizmor:\n    uses: devantler-tech/reusable-workflows/.github/workflows/zizmor.yaml@{ref} # ref\n```\n\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevantler-tech%2Freusable-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevantler-tech%2Freusable-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevantler-tech%2Freusable-workflows/lists"}