{"id":19820721,"url":"https://github.com/ecampidoglio/auto-release-milestone","last_synced_at":"2025-05-01T11:33:58.752Z","repository":{"id":44594865,"uuid":"233249979","full_name":"ecampidoglio/auto-release-milestone","owner":"ecampidoglio","description":":octocat::triangular_flag_on_post: Drafts a GitHub release based on a newly closed milestone.","archived":false,"fork":false,"pushed_at":"2020-02-15T12:20:38.000Z","size":9,"stargazers_count":13,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-08T09:18:34.305Z","etag":null,"topics":["docker-action","github-actions","pluralsight","release-automation","release-notes"],"latest_commit_sha":null,"homepage":"https://www.pluralsight.com/courses/building-custom-github-actions","language":"Shell","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/ecampidoglio.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-01-11T15:07:45.000Z","updated_at":"2023-11-05T17:25:30.000Z","dependencies_parsed_at":"2023-01-04T12:26:31.389Z","dependency_job_id":null,"html_url":"https://github.com/ecampidoglio/auto-release-milestone","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"c7803263e094719740363ad474a6800cabf53360"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecampidoglio%2Fauto-release-milestone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecampidoglio%2Fauto-release-milestone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecampidoglio%2Fauto-release-milestone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecampidoglio%2Fauto-release-milestone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecampidoglio","download_url":"https://codeload.github.com/ecampidoglio/auto-release-milestone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224255066,"owners_count":17281270,"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":["docker-action","github-actions","pluralsight","release-automation","release-notes"],"created_at":"2024-11-12T10:24:28.068Z","updated_at":"2024-11-12T10:24:28.600Z","avatar_url":"https://github.com/ecampidoglio.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Release Milestone\n\nA GitHub action that automatically drafts a GitHub release based on a newly closed milestone.\n\nThe issues that were closed as part of the milestone will be used as the basis to generate the release notes.\n\n## Inputs\n\n### `repo-token`\n\n**(Required)** The `GITHUB_TOKEN` used to access the current repository from the GitHub REST API.\n\n## Outputs\n\n### `release-url`\n\nThe URL of the GitHub release that was drafted. Defaults to an empty string.\n\n## Usage\n\nHere's an example of a workflow that listens for the `milestone: closed` event and automatically creates a release draft with the issues that were closed as release notes. It also prints the URL of the release page to the build log.\n\n```yaml\nname: Test\non:\n  milestone:\n    types: [closed]\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create a release draft for a milestone\n        id: create-release-milestone\n        uses: ecampidoglio/auto-release-milestone@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Print the URL of the release draft\n        if: steps.create-release-milestone.outputs.release-url != ''\n        run: echo ${{ steps.create-release-draft.outputs.release-url }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecampidoglio%2Fauto-release-milestone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecampidoglio%2Fauto-release-milestone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecampidoglio%2Fauto-release-milestone/lists"}