{"id":18736507,"url":"https://github.com/hapag-lloyd/workflow-templates","last_synced_at":"2026-02-20T16:04:46.650Z","repository":{"id":238529590,"uuid":"796754209","full_name":"Hapag-Lloyd/Workflow-Templates","owner":"Hapag-Lloyd","description":"Template files for workflows","archived":false,"fork":false,"pushed_at":"2026-02-17T09:32:25.000Z","size":1202,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-17T11:33:11.484Z","etag":null,"topics":["repository","setup","template"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hapag-Lloyd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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":"2024-05-06T15:08:09.000Z","updated_at":"2026-02-17T05:43:16.000Z","dependencies_parsed_at":"2025-12-03T23:02:58.471Z","dependency_job_id":null,"html_url":"https://github.com/Hapag-Lloyd/Workflow-Templates","commit_stats":null,"previous_names":["hapag-lloyd/workflow-templates"],"tags_count":236,"template":false,"template_full_name":null,"purl":"pkg:github/Hapag-Lloyd/Workflow-Templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hapag-Lloyd%2FWorkflow-Templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hapag-Lloyd%2FWorkflow-Templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hapag-Lloyd%2FWorkflow-Templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hapag-Lloyd%2FWorkflow-Templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hapag-Lloyd","download_url":"https://codeload.github.com/Hapag-Lloyd/Workflow-Templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hapag-Lloyd%2FWorkflow-Templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["repository","setup","template"],"created_at":"2024-11-07T15:21:10.805Z","updated_at":"2026-02-20T16:04:46.631Z","avatar_url":"https://github.com/Hapag-Lloyd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workflow-Templates\n\nThis repository stores templates used to set up workflows for new repositories.\n\n## Set up a new repository\n\n1. Copy the [update_workflows_user.sh](./update_workflows_user.sh) script to your new repository.\n2. Execute the script in your repository.\n3. Store the correct workflow settings in `.config/workflow.yml`:\n4. Rerun the script with `--init` option.\n5. Search for `TODO` in the copied files and replace the placeholders with the correct values.\n6. Check the PR which was automatically created by the script and merge it.\n\n## Update existing repositories\n\n1. Execute `.github/update_workflows.sh` in the repository you want to update.\n2. Check the PR which was automatically created by the script and merge it.\n\nInvoke the script with --skip-pr to see the changes but without creating a PR.\n\n## What you get\n\n### Default setup\n\n- Release management is done with [semantic-release](https://github.com/semantic-release/semantic-release). Releases are automatically\n  tagged and published on GitHub. Special releases for Maven Central and Terraform modules are supported.\n- stale issue and PR management\n- welcome message for contributors\n- linters for all files\n- PRs are checked for semantic commit titles to ensure an automatic release\n- ChatOps to run workflows from comments\n- a `.config/dictionaries/project.txt` file for the spell checker exceptions\n- Renovate setup with Hapag-Lloyd specific presets\n\n## For Developers - Repository Layout\n\n1. Add all workflows to `.github/workflows/`, otherwise they can't be referenced from the repositories.\n2. Workflows with `this_` prefix are used for this repository only.\n3. Workflows with `default_` prefix are added to every new repository. Otherwise, use the correct prefix for the project type.\n\nThe script to set up the workflows for new repositories is `./update_workflows.sh`. It copies the necessary files to the new\nrepository. It starts with the default workflows and adds the specific ones based on the project type. In case of a filename clash,\nthe specific template overwrites the default one (exception: `.gitignore` These files are concatenated).\n\nThe script `./update_workflows_user.sh` is copied to `.github/update_workflows.sh` and executed in the repository by the user. It\nsimply clones this repository and calls the main script with the correct parameters.\n\nUse\n\n```bash\n# USE_REPOSITORY\n#  push:\n#    branches:\n#      - main\n# /USE_REPOSITORY\n```\n\nin the file to describe the triggers which should be used in the repository. The script will automatically replace the triggers\nmarked with `USE_WORKFLOW` which are valid within this repository only.\n\n### Dictionary Update\n\n- use `workflow.txt` for words used in files copied from this repository\n- use `project.txt` for project specific words used in this repository only\n\n### Simulate the update\n\nUse the `simulate.sh` script to check the changes before applying them to the repository. The script\n\n- creates a new repository called `simulate-*` and applies the changes there\n- updates the `workflow.txt` dictionary in your current branch\n\n### Spell Checker\n\n1. Add the words to the `.config/dictionaries/workflow.txt` file.\n2. `.config/dictionaries/project.txt` file is used for the project specific words of the project being set up.\n3. All other dictionaries are managed by the `Repository-Template-*` repositories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhapag-lloyd%2Fworkflow-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhapag-lloyd%2Fworkflow-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhapag-lloyd%2Fworkflow-templates/lists"}