{"id":15768025,"url":"https://github.com/technote-space/github-action-version-helper","last_synced_at":"2026-03-01T04:37:56.600Z","repository":{"id":36955289,"uuid":"243011323","full_name":"technote-space/github-action-version-helper","owner":"technote-space","description":"Version helper for GitHub Actions.","archived":false,"fork":false,"pushed_at":"2023-12-25T09:00:59.000Z","size":3097,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T23:39:00.803Z","etag":null,"topics":["github-actions"],"latest_commit_sha":null,"homepage":"","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/technote-space.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"custom":"https://paypal.me/technote0space"}},"created_at":"2020-02-25T13:51:39.000Z","updated_at":"2022-01-04T13:24:11.000Z","dependencies_parsed_at":"2023-10-02T10:58:48.489Z","dependency_job_id":"570fe7fa-d272-4e3f-a7cc-59b8765647e9","html_url":"https://github.com/technote-space/github-action-version-helper","commit_stats":null,"previous_names":[],"tags_count":70,"template":false,"template_full_name":"technote-space/ts-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgithub-action-version-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgithub-action-version-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgithub-action-version-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgithub-action-version-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technote-space","download_url":"https://codeload.github.com/technote-space/github-action-version-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457991,"owners_count":20780679,"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"],"created_at":"2024-10-04T13:42:12.698Z","updated_at":"2025-10-03T22:45:26.370Z","avatar_url":"https://github.com/technote-space.png","language":"TypeScript","funding_links":["https://paypal.me/technote0space"],"categories":[],"sub_categories":[],"readme":"# Github Action Version Helper\n\n[![npm version](https://badge.fury.io/js/%40technote-space%2Fgithub-action-version-helper.svg)](https://badge.fury.io/js/%40technote-space%2Fgithub-action-version-helper)\n[![CI Status](https://github.com/technote-space/github-action-version-helper/workflows/CI/badge.svg)](https://github.com/technote-space/github-action-version-helper/actions)\n[![codecov](https://codecov.io/gh/technote-space/github-action-version-helper/branch/master/graph/badge.svg)](https://codecov.io/gh/technote-space/github-action-version-helper)\n[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/github-action-version-helper/badge)](https://www.codefactor.io/repository/github/technote-space/github-action-version-helper)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/github-action-version-helper/blob/master/LICENSE)\n\n*Read this in other languages: [English](README.md), [日本語](README.ja.md).*\n\nGitHub Actions 用のバージョンヘルパー\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eDetails\u003c/summary\u003e\n\n- [使用方法](#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95)\n  - [Commit](#commit)\n  - [Version](#version)\n- [Author](#author)\n\n\u003c/details\u003e\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## 使用方法\n1. インストール\n   * npm  \n   `npm i @technote-space/github-action-version-helper`\n   * yarn  \n   `yarn add @technote-space/github-action-version-helper`\n1. 使用\n```typescript\nimport { Commit, Version } from '@technote-space/github-action-version-helper';\n```\n\n### Commit\n```typescript\nimport { Commit } from '@technote-space/github-action-version-helper';\n\n...\n\nconst types = ['feat', 'chore'];\nconst excludeMessages = ['trigger workflow'];\nconst breakingChangeNotes = ['BREAKING CHANGE'];\nconst commits = await Commit.getCommits(types, excludeMessages, breakingChangeNotes, octokit, context);\n\n/**\n例：__tests__/fixtures/commit.list2.json\n[\n\t{\n\t\t'type': 'chore',\n\t\t'message': 'tweaks',\n\t\t'normalized': 'chore: tweaks',\n\t\t'original': 'chore: tweaks',\n\t\t'children': [],\n\t\t'notes': [],\n\t\t'sha': '2dcb09b5b57875f334f61aebed695e2e4193db5e',\n\t},\n\t{\n\t\t'type': 'feat',\n\t\t'message': 'add new features',\n\t\t'normalized': 'feat: add new features',\n\t\t'original': 'feat!: add new features',\n\t\t'children': [\n\t\t\t{\n\t\t\t\t'type': 'feat',\n\t\t\t\t'message': 'add new feature1 (#123)',\n\t\t\t\t'normalized': 'feat: add new feature1 (#123)',\n\t\t\t\t'original': 'feat: add new feature1 (#123)',\n\t\t\t},\n\t\t\t{\n\t\t\t\t'type': 'feat',\n\t\t\t\t'message': 'add new feature2 (#234)',\n\t\t\t\t'normalized': 'feat: add new feature2 (#234)',\n\t\t\t\t'original': 'feat: add new feature2 (#234)',\n\t\t\t},\n\t\t],\n\t\t'notes': ['BREAKING CHANGE: changed'],\n\t\t'sha': '3dcb09b5b57875f334f61aebed695e2e4193db5e',\n\t},\n\t{\n\t\t'type': 'feat',\n\t\t'message': 'add new feature3',\n\t\t'normalized': 'feat: add new feature3',\n\t\t'original': 'feat :  add new feature3',\n\t\t'children': [],\n\t\t'notes': [],\n\t\t'sha': '4dcb09b5b57875f334f61aebed695e2e4193db5e',\n\t},\n\t{\n\t\t'type': 'chore',\n\t\t'message': 'tweaks',\n\t\t'normalized': 'chore: tweaks',\n\t\t'original': 'chore: tweaks',\n\t\t'children': [],\n\t\t'notes': [],\n\t\t'sha': '9dcb09b5b57875f334f61aebed695e2e4193db5e',\n\t},\n]\n**/\n```\n\n### Version\n```typescript\nimport { Version } from '@technote-space/github-action-version-helper';\n\n...\n\nconst minorUpdateCommitTypes = ['feat'];\nconst excludeMessages = ['tweaks'];\nconst breakingChangeNotes = ['BREAKING CHANGE'];\nconst version = await Version.getNextVersion(minorUpdateCommitTypes, excludeMessages, breakingChangeNotes, helper, octokit, context);\n\n/**\n例：__tests__/fixtures/repos.git.matching-refs.json, __tests__/fixtures/commit.list3.json\nv2.1.0\n**/\n```\n\n## Author\n[GitHub (Technote)](https://github.com/technote-space)  \n[Blog](https://technote.space)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Fgithub-action-version-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnote-space%2Fgithub-action-version-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Fgithub-action-version-helper/lists"}