{"id":19206767,"url":"https://github.com/hausgold/actions","last_synced_at":"2025-02-23T06:42:26.776Z","repository":{"id":55843465,"uuid":"241303164","full_name":"hausgold/actions","owner":"hausgold","description":"Some fancy and reusable Github Actions for our workflows","archived":false,"fork":false,"pushed_at":"2024-11-04T09:48:08.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-04T15:34:50.201Z","etag":null,"topics":["github-actions","glue-code","infrastructure","utilities"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hausgold.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}},"created_at":"2020-02-18T07:54:55.000Z","updated_at":"2024-08-23T09:54:46.000Z","dependencies_parsed_at":"2024-02-02T14:43:40.401Z","dependency_job_id":"8e300903-9c69-4393-a592-74db03236102","html_url":"https://github.com/hausgold/actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hausgold%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hausgold%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hausgold%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hausgold%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hausgold","download_url":"https://codeload.github.com/hausgold/actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240280825,"owners_count":19776414,"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":["github-actions","glue-code","infrastructure","utilities"],"created_at":"2024-11-09T13:16:54.538Z","updated_at":"2025-02-23T06:42:26.745Z","avatar_url":"https://github.com/hausgold.png","language":"JavaScript","readme":"![Actions](doc/assets/project.svg)\n\nThis project is dedicated to bundle our shared Github Actions and it serves\nsome trampoline actions to other HAUSGOLD internals which are not public.\n\n- [Compound Actions](#compound-actions)\n  - [Generic Continuous Delivery](#generic-continuous-delivery)\n- [Standalone Actions](#standalone-actions)\n  - [Fetch application settings](#fetch-application-settings)\n  - [Run a Potpourri script](#run-a-potpourri-script)\n\n## Compound Actions\n\nWe provide some compound actions to shortcut the configuration overhead on\nGithub Actions. Unfortunately, we are not allowed (at the time of writing,\n2020-02) to use YAML anchors and aliases which result in heavy copy-paste\nconfigurations. Our compound actions will ease the pain and provide easy to use\nsingle-steps.\n\n### Generic Continuous Delivery\n\nThis compound action makes use of the [Fetch application\nsettings](#fetch-application-settings) action and the [Run a Potpourri\nscript](#run-a-potpourri-script) action.\n\n```yaml\nsteps:\n  - name: Prepare the virtual environment\n    uses: hausgold/actions/ci@master\n    with:\n      clone_token: '${{ secrets.CLONE_TOKEN }}'\n      settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'\n      settings: '${{ github.event.repository.name }}'\n      target: ci/sd-deploy\n```\n\n## Standalone Actions\n\nMost commonly on Github Actions is the usage of standalone actions which are\nperformed on after another while having the user the configure each step, even\non multiple jobs.\n\n### Fetch application settings\n\nThis action allows you to fetch the application settings from our\n[Settings](https://github.com/hausgold/settings) repository by specifing the\napplication name and the Github clone token. Make sure your application\nrepository have set the `CLONE_TOKEN` secret correctly. Afterwards you\ncan access all settings via regular environment variables.\n\n```yaml\nsteps:\n  - name: Fetch all application settings\n    uses: hausgold/actions/settings@master\n    with:\n      clone_token: '${{ secrets.CLONE_TOKEN }}'\n      secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'\n      app: '${{ github.event.repository.name }}'\n```\n\n### Run a Potpourri script\n\nTo set up the virtual environment with some ready to use recipes you can use\nthe Potpourri trampoline for your HAUSGOLD internal application. This will\nfetch and build the Potpourri repository (5s) and run the desired script. See\nthe [Potpourri documentation](https://github.com/hausgold/potpourri) for\nfurther details and a full list of supported targets.\n\n```\nsteps:\n  - name: Prepare the virtual environment\n    uses: hausgold/actions/potpourri@master\n    with:\n      clone_token: '${{ secrets.CLONE_TOKEN }}'\n      target: ci/sd-deploy\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhausgold%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhausgold%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhausgold%2Factions/lists"}