{"id":19806737,"url":"https://github.com/webclipper/create-release","last_synced_at":"2025-07-13T01:13:12.243Z","repository":{"id":40285289,"uuid":"268938302","full_name":"webclipper/create-release","owner":"webclipper","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T15:36:07.000Z","size":1966,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T15:06:01.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/webclipper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-03T00:33:22.000Z","updated_at":"2020-07-02T00:53:50.000Z","dependencies_parsed_at":"2023-02-02T17:45:16.639Z","dependency_job_id":null,"html_url":"https://github.com/webclipper/create-release","commit_stats":{"total_commits":32,"total_committers":10,"mean_commits":3.2,"dds":0.5,"last_synced_commit":"d7b5e5ce1d123de8d6282f0fc083d460cc91ea5d"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/webclipper/create-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webclipper%2Fcreate-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webclipper%2Fcreate-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webclipper%2Fcreate-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webclipper%2Fcreate-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webclipper","download_url":"https://codeload.github.com/webclipper/create-release/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webclipper%2Fcreate-release/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265077549,"owners_count":23707706,"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":"2024-11-12T09:08:24.033Z","updated_at":"2025-07-13T01:13:12.219Z","avatar_url":"https://github.com/webclipper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action - Releases API\nThis GitHub Action (written in JavaScript) wraps the [GitHub Release API](https://developer.github.com/v3/repos/releases/), specifically the [Create a Release](https://developer.github.com/v3/repos/releases/#create-a-release) endpoint, to allow you to leverage GitHub Actions to create releases.\n\n\u003ca href=\"https://github.com/actions/create-release\"\u003e\u003cimg alt=\"GitHub Actions status\" src=\"https://github.com/actions/create-release/workflows/Tests/badge.svg\"\u003e\u003c/a\u003e\n\n## Usage\n### Pre-requisites\nCreate a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#example-workflow---create-a-release) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).\n\n### Inputs\nFor more information on these inputs, see the [API Documentation](https://developer.github.com/v3/repos/releases/#input)\n\n- `tag_name`: The name of the tag for this release\n- `release_name`: The name of the release\n- `replace_old_tag`: `true` to replace a tag of the same name if it points to another commit, `false` otherwise. Default: `false`\n- `body`: Text describing the contents of the release\n- `draft`: `true` to create a draft (unpublished) release, `false` to create a published one. Default: `false`\n- `prerelease`: `true` to identify the release as a prerelease. `false` to identify the release as a full release. Default `false`\n- `allow_duplicate`: `true` to use older tag if the same tag name is found, `false` otherwise. Default: `false`\n\n### Outputs\nFor more information on these outputs, see the [API Documentation](https://developer.github.com/v3/repos/releases/#response-4) for an example of what these outputs look like\n\n- `id`: The release ID\n- `html_url`: The URL users can navigate to in order to view the release. i.e. `https://github.com/octocat/Hello-World/releases/v1.0.0`\n- `upload_url`: The URL for uploading assets to the release, which could be used by GitHub Actions for additional uses, for example the [`@actions/upload-release-asset`](https://www.github.com/actions/upload-release-asset) GitHub Action\n\n### Example workflow - create a release\nOn every `push` to a tag matching the pattern `v*`, [create a release](https://developer.github.com/v3/repos/releases/#create-a-release):\n\n```yaml\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\nname: Create Release\n\njobs:\n  build:\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          body: |\n            Changes in this Release\n            - First Change\n            - Second Change\n          draft: false\n          prerelease: false\n```\n\nThis will create a [Release](https://help.github.com/en/articles/creating-releases), as well as a [`release` event](https://developer.github.com/v3/activity/events/types/#releaseevent), which could be handled by a third party service, or by GitHub Actions for additional uses, for example the [`@actions/upload-release-asset`](https://www.github.com/actions/upload-release-asset) GitHub Action. This uses the `GITHUB_TOKEN` provided by the [virtual environment](https://help.github.com/en/github/automating-your-workflow-with-github-actions/virtual-environments-for-github-actions#github_token-secret), so no new token is needed.\n\n## Contributing\nWe would love you to contribute to `@actions/create-release`, pull requests are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) for more information.\n\n## License\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebclipper%2Fcreate-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebclipper%2Fcreate-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebclipper%2Fcreate-release/lists"}