{"id":28395157,"url":"https://github.com/databiosphere/github-actions","last_synced_at":"2025-06-27T01:31:17.002Z","repository":{"id":42076109,"uuid":"281712481","full_name":"DataBiosphere/github-actions","owner":"DataBiosphere","description":"Data Biosphere GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-05-13T13:28:17.000Z","size":178,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-06-01T06:52:21.995Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataBiosphere.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-22T15:19:42.000Z","updated_at":"2024-05-13T13:28:20.000Z","dependencies_parsed_at":"2022-08-12T04:10:38.451Z","dependency_job_id":"7e19635f-36df-403a-8100-7b16ddff8fea","html_url":"https://github.com/DataBiosphere/github-actions","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/DataBiosphere/github-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fgithub-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fgithub-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fgithub-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fgithub-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataBiosphere","download_url":"https://codeload.github.com/DataBiosphere/github-actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fgithub-actions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262172364,"owners_count":23269993,"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":[],"created_at":"2025-05-31T19:39:22.022Z","updated_at":"2025-06-27T01:31:16.992Z","avatar_url":"https://github.com/DataBiosphere.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Biosphere GitHub Actions\nThis repository is meant to house Data Biosphere-adjacent GitHub actions. Having them all live together in this repo makes it easier to maintain a consistent set of standards and CI pipelines for them.\n\n## Build process\nThe [action-releaser action](https://github.com/DataBiosphere/github-actions/tree/master/actions/action-releaser), also hosted in this repository, is used in the [release workflow](https://github.com/DataBiosphere/github-actions/blob/master/.github/workflows/release.yml) to bump the version tags of any actions when changes to them are merged to master.\nA [Google Cloud Build trigger](https://console.cloud.google.com/cloud-build/triggers/edit/5414cabd-9785-4bb8-9561-669d2a8264c8?project=dsp-artifact-registry) is set up to look for those tags and build the action containers as defined in the [`cloudbuild.yaml` config file](https://github.com/DataBiosphere/github-actions/blob/master/cloudbuild.yaml).\nThe build publishes the images to the public github actions repo, tagged with the versions, where they can be [pulled by GH action workflows](#point-to-tag).\n\n## Using actions defined in this repo\nThe actions defined in this repo can be used by pointing to their folder and tag/branch in this repo.\n\n### Point to tag\nPointing your workflow to a tag corresponding to a version of an action that has been released from the master branch is the recommended way to use these actions. This will lock your workflow to a specific version of the action and result in fast build times, since every version-tagged commit in turn points to a pre-built image for that action.\n```\nuses: databiosphere/github-actions/actions/locker@locker-0.7.0\n```\n\n### Point to a branch\n#### master\nIf running the latest version of the action is more important than stability, pointing to the `master` branch will make your workflow pull the latest released image for an action:\n```\nuses: databiosphere/github-actions/actions/locker@master\n```\n#### Other branches\nPointing to a branch is also useful when testing changes to an action or developing a new action:\n```\nuses: databiosphere/github-actions/actions/locker@foo-test-action\n```\nFor this use case, make sure to also update the `action.yml` for the action under development to point to its local definition instead of an official image:\n```\nruns:\n  using: \"docker\"\n  image: \"Dockerfile\"\n```\n\n## Adding new actions\nAdding actions is fairly straightforward\n- Create a new subdirectory for your action in the actions folder\n- Ideally containerize your action, include a Dockerfile and follow other [GitHub actions best practices](https://docs.dsp-devops.broadinstitute.org/best-practices-guides/github-actions)\n- Open a PR with your changes. Mention it in the #dsp-devops-champions Slack channel if you need someone to take a look ASAP.\n\nOnce merged, your new action should get automatically version-tagged, and if it is containerized also built and pushed to the public Google Artifact repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabiosphere%2Fgithub-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatabiosphere%2Fgithub-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabiosphere%2Fgithub-actions/lists"}