{"id":42258025,"url":"https://github.com/this-oliver/detect-conventional-bump","last_synced_at":"2026-01-27T05:36:45.650Z","repository":{"id":286196954,"uuid":"960506082","full_name":"this-oliver/detect-conventional-bump","owner":"this-oliver","description":"detect the bump type for commits","archived":false,"fork":false,"pushed_at":"2025-04-14T09:30:15.000Z","size":647,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T13:06:53.609Z","etag":null,"topics":["cicd","commits","continuous-integration","conventional-commits","semver"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/detect-conventional-bump","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/this-oliver.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,"zenodo":null}},"created_at":"2025-04-04T14:52:06.000Z","updated_at":"2025-06-11T12:25:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"62770844-4108-4547-903b-11cac03d956a","html_url":"https://github.com/this-oliver/detect-conventional-bump","commit_stats":null,"previous_names":["this-oliver/detect-conventional-bump"],"tags_count":5,"template":false,"template_full_name":"this-oliver/template-node","purl":"pkg:github/this-oliver/detect-conventional-bump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/this-oliver%2Fdetect-conventional-bump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/this-oliver%2Fdetect-conventional-bump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/this-oliver%2Fdetect-conventional-bump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/this-oliver%2Fdetect-conventional-bump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/this-oliver","download_url":"https://codeload.github.com/this-oliver/detect-conventional-bump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/this-oliver%2Fdetect-conventional-bump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28804291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: 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":["cicd","commits","continuous-integration","conventional-commits","semver"],"created_at":"2026-01-27T05:36:45.478Z","updated_at":"2026-01-27T05:36:45.633Z","avatar_url":"https://github.com/this-oliver.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n[![CI/CD](https://github.com/this-oliver/detect-conventional-bump/actions/workflows/cicd.yaml/badge.svg)](https://github.com/this-oliver/detect-conventional-bump/actions/workflows/cicd.yaml)\n\n`detect-conventional-bump` is a GitHub Action that uses the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard to determine the type of version bump (`major`, `minor`, `patch`) based on the given [input parameters](#input-parameters). It is designed to be used in CI/CD pipelines to automate versioning and release processes.\n\nThe following commit message format is used to determine the bump type ([source](https://github.com/angular/angular/blob/9228a733631a7d3ba79456c7b2da6e6ff239d4cb/contributing-docs/commit-message-guidelines.md#commit-message-header)):\n\n```md\n\u003ctype\u003e(\u003cscope?\u003e): \u003cshort summary\u003e\n  │       │             │\n  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.\n  │       │\n  │       └─⫸ Commit Scope: optional. The scope may be anything specifying the place of the commit change.\n  │\n  └─⫸ Commit Type: major|breaking|minor|feat|ft|patch|fix|chore|docs\n```\n\nBy default, the action uses the following commit types to determine the bump type:\n\n- Major: `major`, `breaking`, `release`\n- Minor: `minor`, `feat`, `ft`\n- Patch: `patch`, `fix`, `chore`, `docs`\n\n## Usage\n\n```yaml\nname: CI/CD\non:\n  push:\n    branches:\n      - main\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write # needs write permission to push tag and release\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Detect bump type\n        id: bump\n        uses: this-oliver/detect-conventional-bump@v0.1.3\n        with:\n          message: ${{ github.event.head_commit.message }} # 'feat(core): adds new feature'\n\n      - name: Bump version and push tag\n        id: tag\n        uses: mathieudutour/github-tag-action@a22cf08638b34d5badda920f9daf6e72c477b07b # v6.2\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          default_bump: ${{ steps.bump.outputs.type }} # bump type should be 'minor'\n\n      - name: Create a GitHub release\n        uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0\n        with:\n          tag: ${{ steps.tag.outputs.new_tag }}\n          name: ${{ steps.tag.outputs.new_tag }}\n          body: ${{ steps.tag.outputs.changelog }}\n```\n\n### Input Parameters\n\n| Parameter | Default | Required | Description |\n| --------- | ----------- | ------- | -------- |\n| `message` | `\"\"` | Yes | The commit message to check. If not provided, the action will use the latest commit message. |\n| `keywords-major` | `major,breaking,release` | No | Comma-separated list of keywords that indicate a major version bump. |\n| `keywords-minor` | `minor,feat,ft` | No | Comma-separated list of keywords that indicate a minor version bump. |\n| `keywords-patch` | `patch,fix,chore,docs` | No | Comma-separated list of keywords that indicate a patch version bump. |\n| `force-scope` | `false` | No | Fails if the message does not contain a scope. |\n\n### Output Parameters\n\n| Parameter | Description |\n| --------- | ----------- |\n| `type` | The bump type (`major`, `minor`, `patch`) based on the commit message. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthis-oliver%2Fdetect-conventional-bump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthis-oliver%2Fdetect-conventional-bump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthis-oliver%2Fdetect-conventional-bump/lists"}