{"id":24568744,"url":"https://github.com/lwhiteley/commit-environment","last_synced_at":"2026-05-21T10:02:06.526Z","repository":{"id":37788286,"uuid":"326089242","full_name":"lwhiteley/commit-environment","owner":"lwhiteley","description":"github action to add commit specific environment variables using tags","archived":false,"fork":false,"pushed_at":"2023-03-01T23:00:11.000Z","size":1712,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T14:55:08.437Z","etag":null,"topics":["actions","commit","github-actions","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/commit-environment","language":"TypeScript","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/lwhiteley.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}},"created_at":"2021-01-02T01:49:24.000Z","updated_at":"2021-10-05T04:09:38.000Z","dependencies_parsed_at":"2023-02-17T11:45:19.446Z","dependency_job_id":null,"html_url":"https://github.com/lwhiteley/commit-environment","commit_stats":{"total_commits":86,"total_committers":4,"mean_commits":21.5,"dds":0.2674418604651163,"last_synced_commit":"f7682f8a12f14ad193e75c3fc99223397e215b7c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fcommit-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fcommit-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fcommit-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fcommit-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwhiteley","download_url":"https://codeload.github.com/lwhiteley/commit-environment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243978596,"owners_count":20378064,"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","commit","github-actions","hacktoberfest"],"created_at":"2025-01-23T14:55:16.027Z","updated_at":"2026-05-21T10:02:01.506Z","avatar_url":"https://github.com/lwhiteley.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commit-environment\n\nGithub action to parse ci tags from commit messages. This is a generic tag parser to fit into any workflow that may want to take an action only for a specific commit.\n\n**Possible use case:** Enable demo mode for a specific commit and block build as this must not get into master branch\n\n### tag patterns\n\n```\n--ci-skip\n--ci-platform=test\n--ci-platform-type\n--ci-demo-type=blocking\n```\n\nTags can have an optional value `\u003ctag\u003e=some_value`\n\nTags will be exported as step outputs and also as environment variables.\n\nTo reference as an output or environment variable, please use the snakecase+uppercased version of the tag\n\nfor eg.\n\n`--ci-skip` will be transformed into `CI_SKIP`\n\nPractical example:\n\n```\n// commit messages\nThis is my sample commit subject\n\nNow my commit body has some tags\n\n--ci-skip\n--ci-platform=test\n--ci-platform-type\n--ci-demo-type=blocking\n--ci-demo-type2=blocking\n```\n\nResult:\n\n```js\n{\n  CI_SKIP: 'true',\n  CI_PLATFORM: 'test',\n  CI_PLATFORM_TYPE: 'true',\n  CI_DEMO_TYPE: 'blocking'\n  CI_DEMO_TYPE_2: 'blocking'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwhiteley%2Fcommit-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwhiteley%2Fcommit-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwhiteley%2Fcommit-environment/lists"}