{"id":28069816,"url":"https://github.com/keptn/gh-automation","last_synced_at":"2025-07-30T05:33:27.840Z","repository":{"id":41831098,"uuid":"416648099","full_name":"keptn/gh-automation","owner":"keptn","description":"This repo is the single source of truth for pipelines that are shared across Keptn repos","archived":false,"fork":false,"pushed_at":"2022-12-22T10:19:28.000Z","size":34,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-12T19:15:31.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keptn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-13T08:17:21.000Z","updated_at":"2024-04-21T13:57:49.000Z","dependencies_parsed_at":"2023-01-30T07:01:21.953Z","dependency_job_id":null,"html_url":"https://github.com/keptn/gh-automation","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/keptn/gh-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn%2Fgh-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn%2Fgh-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn%2Fgh-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn%2Fgh-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keptn","download_url":"https://codeload.github.com/keptn/gh-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn%2Fgh-automation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815187,"owners_count":24148356,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2025-05-12T19:15:26.237Z","updated_at":"2025-07-30T05:33:27.817Z","avatar_url":"https://github.com/keptn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keptn GH Actions DevOps Collection\n\nThis repo contains shared GitHub Actions workflows that are used by multiple repos under the Keptn GitHub organization.\n\n## Workflows\n\nThe following re-usable workflows are available:\n\n| Name                    | Filename                      | Description | Inputs | Outputs |\n|-------------------------|-------------------------------|-------------|--------|---------|\n| DCO                     | `dco.yml`                     | Checks the [Developer Certificate of Origin](https://developercertificate.org/) on a PR or on a default branch. |`exclude-emails`: Comma-separated list of emails that should be ignored during DCO checks | None |\n| Validate Semantic PR    | `validate-semantic-pr.yml`    | Checks for [Semantic PR messages](https://www.conventionalcommits.org/en/v1.0.0/) in order to enhance release note generation | `types`: List of types \u003cbr/\u003e`scopes`: List of scopes | None |\n| Pre-Release Integration | `pre-release-integration.yml` | Creates a pre-release of a Keptn integration | `PRERELEASE_KEYWORD`: Keyword for pre-releases, e.g., `alpha`, `next` | `RELEASE_TAG` |\n| Release Integration     | `release-integration.yml`     | Creates a (draft) release of a Keptn integration | `draft` (default: true) | `RELEASE_TAG` |\n| Prepare CI Run          | `prepare-ci.yml`              | Determines Git Commit Hash, next version, Datetime | None | `BRANCH`\u003cbr/\u003e`BRANCH_SLUG`\u003cbr/\u003e`VERSION`\u003cbr/\u003e`DATETIME`\u003cbr/\u003e`GIT_SHA` |\n\n## Actions\n\nThe following re-usable actions are available:\n\n| Name              | Filename                                | Description                  | Inputs                                          | Outputs |\n|-------------------|-----------------------------------------|------------------------------|-------------------------------------------------|---------|\n| Docker Build      | `actions/docker-build/action.yaml`      | Docker Login, Build and Push | See [Docker Build Action](#docker-build-action) | -       |\n| Build Helm Charts | `actions/build-helm-charts/action.yaml` | Lints and builds Helm chart  | See [Build Helm Charts](#build-helm-charts)     | -       |\n\n### Docker Build Action\n\n\n**Inputs**:\n* `TAGS`: List of images/tags to be pushed, e.g., keptncontrib/my-service:1.2.3\n* `BUILD_ARGS`: List of build arguments\n* `REGISTRY_USER`: DockerHub User used for pushing to docker.io - leave empty if you don't want to push to docker.io\n* `REGISTRY_PASSWORD`: DockerHub token or password used for pushing to docker.io - leave empty if you don't want to push to docker.io\n* `GITHUB_TOKEN`: Github Access token used for pushing to ghcr.io - leave empty if you don't want to push to ghcr.io\n* `DOCKERFILE`: Dockerfile to be used in docker build\n* `TARGET`: Target to be built using docker build\n* `PULL`: Whether or not to pull the image before building (i.e., to make use of cached layers)\n* `PUSH`: Whether or not to push the image to the desired registries\n\n**Outputs**:\n* `BUILD_METADATA`: Docker build Metadata, see [Docker Build Push Action Docs](https://github.com/docker/build-push-action#outputs)\n\n\n**Example Usage**:\n```yaml\n      - name: Docker Build\n        id: docker_build\n        uses: keptn/gh-automation/.github/actions/docker-build@v1\n        with:\n          TAGS: |\n            ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ env.VERSION }}\n            ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ env.VERSION }}.${{ env.DATETIME }}\n            ${{ env.DOCKER_ORGANIZATION }}/${{ env.IMAGE_INITCONTAINER }}:${{ env.VERSION }}\n            ${{ env.DOCKER_ORGANIZATION }}/${{ env.IMAGE_INITCONTAINER }}:${{ env.VERSION }}.${{ env.DATETIME }}\n          BUILD_ARGS: |\n            version=${{ env.VERSION }}\n            datetime=${{ env.DATETIME }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REGISTRY_USER: ${{ secrets.REGISTRY_USER }}\n          REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}\n          DOCKERFILE: Dockerfile\n```\n\n### Build Helm Charts \n\n**Inputs**:\n* `VERSION`: Version of your Helm chart e.g., 0.7.2-next.0\n* `APP_VERSION`: Helm Chart app version\n* `CHART_NAME`: Name used in the Helm chart e.g., job-executor-service\n* `BASE_PATH`: Base path the action should execute Helm commands from\n* `CHARTS_PATHS`: Path of your Helm chart directory relative to the BASE_PATH\n* `OUTPUT_DIRECTORY`: Directory the chart will be output into\n\n**Example Usage**:\n\n```yaml\n  - name: Build Helm Charts\n    id: build_helm_charts\n    uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6\n    with:\n      VERSION: ${{ env.VERSION }}\n      APP_VERSION: ${{ env.VERSION }}.${{ env.DATETIME }}\n      CHART_NAME: ${{ env.IMAGE }}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeptn%2Fgh-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeptn%2Fgh-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeptn%2Fgh-automation/lists"}