{"id":13527482,"url":"https://github.com/plutotcool/release","last_synced_at":"2025-10-26T07:31:15.753Z","repository":{"id":54654185,"uuid":"315408938","full_name":"plutotcool/release","owner":"plutotcool","description":"🔖 - GitHub Action to automatically release packages using lerna or semantic-release","archived":false,"fork":false,"pushed_at":"2021-12-20T11:20:19.000Z","size":172,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T16:51:40.327Z","etag":null,"topics":["actions","github-actions","lerna","release","semantic-release"],"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/plutotcool.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":"2020-11-23T18:44:07.000Z","updated_at":"2022-10-11T18:59:45.000Z","dependencies_parsed_at":"2022-08-13T23:00:32.343Z","dependency_job_id":null,"html_url":"https://github.com/plutotcool/release","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutotcool%2Frelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutotcool%2Frelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutotcool%2Frelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutotcool%2Frelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plutotcool","download_url":"https://codeload.github.com/plutotcool/release/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284833,"owners_count":19446738,"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","github-actions","lerna","release","semantic-release"],"created_at":"2024-08-01T06:01:48.932Z","updated_at":"2025-10-26T07:31:15.369Z","avatar_url":"https://github.com/plutotcool.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Release Action\n\n\u003e GitHub Action to automatically release packages using lerna or semantic-release.\n\n- Automatically bump packages version using [semantic-release](https://github.com/semantic-release/semantic-release) (or [lerna](https://github.com/lerna/lerna) which also relies on semantic-release)\n- Create releases on GitHub\n- Publish to GitHub and NPM registries\n\nPublishing on package registries is skipped if there is not any `package.json` or if its `private` field is set to true.\n\nPublishing on GitHub registry is skipped if the package name is not [scoped with the GitHub owner name](https://docs.github.com/en/free-pro-team@latest/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages#publishing-a-package).\n\nPublishing on NPM registry is skipped if no [NPM token](https://docs.npmjs.com/about-access-tokens) is provided.\n\n## Usage\n\nIn `.github/workflows/release.yml`:\n\n```yaml\non:\n  push:\n    branches:\n    - main\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 14\n    - run: yarn\n    - run: yarn build\n    - uses: plutotcool/release@v1\n      with:\n        github_token:  ${{ secrets.GITHUB_TOKEN }}\n        npm_token: ${{ secrets.NPM_TOKEN }}\n```\n\n## Inputs\n\n### `github_token`\n\n`string` *(required)*\n\n[GitHub Token](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#about-the-github_token-secret) used to create the release on GitHub and publish on GitHub registry.\n\n### `npm_token`\n\n`string` *(optional)*\n\n[NPM token](https://docs.npmjs.com/about-access-tokens) with publish permission. If not provided, publishing to npm registry will be skipped.\n\n### `publish`\n\n`boolean` *(optional, default `true`)*\n\nEnable or disable publishing to package registries. When set to false, only releases are created on GitHub.\n\n### `push`\n\n`boolean` *(optional, default `true`)*\n\nEnable or disable pushing changes made by the action.\n\n## `name`\n\n`string` *(optional, default: `'github-actions[bot]'`)*\n\nUser name to use when pushing to GitHub.\n\n## `email`\n\n`string` *(optional, default: `'github-actions[bot]@users.noreply.github.com'`)*\n\nEmail to use when pushing to GitHub.\n\n## `message`\n\n`string` *(optional, default: `'ci: release'`)*\n\nCommit message to use when bumping package.json.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplutotcool%2Frelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplutotcool%2Frelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplutotcool%2Frelease/lists"}