{"id":23248783,"url":"https://github.com/stuttgart-things/github-workflow-templates","last_synced_at":"2025-04-06T01:17:10.194Z","repository":{"id":268503878,"uuid":"904558289","full_name":"stuttgart-things/github-workflow-templates","owner":"stuttgart-things","description":"github-workflow-templates","archived":false,"fork":false,"pushed_at":"2025-04-05T01:38:26.000Z","size":83,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-05T02:27:16.360Z","etag":null,"topics":["actions","cicd","github-actions","github-workflows","reusable-components","reusable-workflows"],"latest_commit_sha":null,"homepage":"","language":null,"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/stuttgart-things.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-17T05:59:47.000Z","updated_at":"2025-03-17T10:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6237e2a-a511-4a2a-b336-ad4111214f78","html_url":"https://github.com/stuttgart-things/github-workflow-templates","commit_stats":null,"previous_names":["stuttgart-things/github-workflow-templates"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fgithub-workflow-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fgithub-workflow-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fgithub-workflow-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fgithub-workflow-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuttgart-things","download_url":"https://codeload.github.com/stuttgart-things/github-workflow-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419864,"owners_count":20936015,"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":["actions","cicd","github-actions","github-workflows","reusable-components","reusable-workflows"],"created_at":"2024-12-19T08:15:40.417Z","updated_at":"2025-04-06T01:17:10.188Z","avatar_url":"https://github.com/stuttgart-things.png","language":null,"readme":"# stuttgart-things/github-workflow-templates\n\n## REUSABLE WORKFLOW-CALLS\n\n\u003cdetails\u003e\u003csummary\u003eWORFKLOW-FOLDER\u003c/summary\u003e\n\n```bash\nmkdir -p .github/workflows\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eTRIGGER\u003c/summary\u003e\n\n```yaml\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - 'main'\n      - 'feature/**'\n      - 'fix/**'\n  pull_request:\n    types: [opened, reopened]\n```\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\u003csummary\u003eGOLANG BUILD\u003c/summary\u003e\n\n```yaml\njobs:\n  validate-golang:\n    name: Valdiate Golang\n    uses: stuttgart-things/github-workflow-templates/.github/workflows/call-golang-validation.yaml@main\n    with:\n      module-name: kaeffken\n      environment-name: k8s\n      runs-on: ghr-kaeffken-skyami-cicd\n      golint-version: v1.61.0-alpine\n      golang-version: \"1.23.1\"\n      accept-linterrors: true\n      accept-failedtests: false\n    secrets: inherit\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eYAML LINT\u003c/summary\u003e\n\n```yaml\njobs:\n  yaml-lint:\n    name: Lint yaml files\n    uses: stuttgart-things/github-workflow-templates/.github/workflows/call-yaml-lint.yaml@feature/add-homerun-task-go\n    with:\n      runs-on: ghr-install-configure-docker-skyami-cicd\n      environment-name: k8s\n      continue-error: true\n      yamllint-version: 1\n      lintprofile-path: .yamllint\n      artifact-name: yaml-lint\n```\n\n\u003c/details\u003e\n\n## ACTIONS\n\n\u003cdetails\u003e\u003csummary\u003eSEND MESSAGE TO HOMERUN\u003c/summary\u003e\n\n```yaml\njobs:\n  send-to-homerun:\n    runs-on: ghr-stuttgart-things-skyami-cicd\n    steps:\n      - name: Send Message To Homerun\n        uses: stuttgart-things/github-workflow-templates/actions/send-homerun-message@main\n        with:\n          url: \"https://homerun.homerun-dev.sthings-vsphere.labul.sva.de/generic\"\n          secretToken: \"${{ secrets.HOMERUN_TOKEN }}\" # Pass the secret\n          title: \"Test Homerun Title\"\n          message: \"Test Homerun Message\"\n          severity: \"INFO\"\n          artifacts: \"Test Artifact\"\n          tags: \"github,test\"\n          assigneeName: \"patrick\"\n          assigneeAddress: \"\"\n```\n\n\u003c/details\u003e\n\n\n## DEV\n\n\u003cdetails\u003e\u003csummary\u003eALL TASKS\u003c/summary\u003e\n\n```bash\ntask: Available tasks for this project:\n* branch:              Create branch from main\n* check:               Run pre-commit hooks\n* commit:              Commit + push code into branch\n* pr:                  Create pull request into main\n* switch-local:        Switch to local branch\n* switch-remote:       Switch to remote branch\n* tag:                 Tag repo\n* tasks:               Select a task to run\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eSELECT TASK\u003c/summary\u003e\n\n```bash\ntask=$(yq e '.tasks | keys' Taskfile.yaml | sed 's/^- //' | gum choose) \u0026\u0026 task ${task}\n```\n\n\u003c/details\u003e\n\n## AUTHORS\n\n```yaml\n---\nauthors:\n  - patrick.hermann\n```\n\n\n## LICENSE\n\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eAPACHE 2.0\u003c/b\u003e\u003c/summary\u003e\n\nCopyright 2023 patrick hermann.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuttgart-things%2Fgithub-workflow-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuttgart-things%2Fgithub-workflow-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuttgart-things%2Fgithub-workflow-templates/lists"}