{"id":24531936,"url":"https://github.com/julbme/gh-action-manage-milestone","last_synced_at":"2025-03-15T20:16:20.270Z","repository":{"id":65160394,"uuid":"462331189","full_name":"julbme/gh-action-manage-milestone","owner":"julbme","description":"GitHub Action to manage milestones","archived":false,"fork":false,"pushed_at":"2022-12-03T21:04:49.000Z","size":683,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T02:36:06.335Z","etag":null,"topics":["ci","github-action","milestone"],"latest_commit_sha":null,"homepage":"https://julbme.github.io/gh-action-manage-milestone/","language":"Java","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/julbme.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":"2022-02-22T14:21:20.000Z","updated_at":"2022-02-23T15:52:18.000Z","dependencies_parsed_at":"2023-01-05T05:02:42.049Z","dependency_job_id":null,"html_url":"https://github.com/julbme/gh-action-manage-milestone","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.46153846153846156","last_synced_commit":"dc29e4b5ac84ee0f5165e5b9c3c46ceaea7573c6"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-milestone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-milestone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-milestone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-milestone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julbme","download_url":"https://codeload.github.com/julbme/gh-action-manage-milestone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243785080,"owners_count":20347409,"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":["ci","github-action","milestone"],"created_at":"2025-01-22T09:16:54.469Z","updated_at":"2025-03-15T20:16:20.219Z","avatar_url":"https://github.com/julbme.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/julbme/gh-action-manage-milestone/actions/workflows/maven-build.yml/badge.svg)](https://github.com/julbme/gh-action-manage-milestone/actions/workflows/maven-build.yml)\n[![Lint Commit Messages](https://github.com/julbme/gh-action-manage-milestone/actions/workflows/commitlint.yml/badge.svg)](https://github.com/julbme/gh-action-manage-milestone/actions/workflows/commitlint.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=julbme_gh-action-manage-milestone\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=julbme_gh-action-manage-milestone)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/julbme/gh-action-manage-milestone)\n\n# GitHub Action to manage Milestones\n\nThe GitHub Action for managing milestones of the GitHub repository.\n\n- Create a new milestone\n- Edit an existing milestone\n- Closing an existing milestone.\n- Deleting a milestone.\n\n## Usage\n\n### Example Workflow file\n\n- Create a milestone:\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create the milestone\n        uses: julbme/gh-action-manage-milestone@v1\n        with:\n          title: Some title\n          state: open\n          description: Some description\n          due_on: \"2022-01-01\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n- Close the milestone\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Close the milestone\n        uses: julbme/gh-action-manage-milestone@v1\n        with:\n          title: Some title\n          state: closed\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n- Delete the milestone\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Close the milestone\n        uses: julbme/gh-action-manage-milestone@v1\n        with:\n          title: Some title\n          state: deleted\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Inputs\n\n|     Name      |  Type  |  Default  |                              Description                              |\n|---------------|--------|-----------|-----------------------------------------------------------------------|\n| `title`       | string | `Not set` | Title of the milestone. **Required**                                  |\n| `state`       | string | `open`    | State of the milestone. Valid values are `open`, `closed`, `deleted`  |\n| `description` | string | `Not set` | Description of the milestone of the milestone.                        |\n| `due_on`      | string | `Not set` | ISO8601 representation of the due date of the milestone. `yyyy-MM-dd` |\n\n### Outputs\n\n|   Name   |  Type  |                          Description                          |\n|----------|--------|---------------------------------------------------------------|\n| `number` | number | ID of the milestone, or ` ` in case the milestone is deleted. |\n\n## Contributing\n\nThis project is totally open source and contributors are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulbme%2Fgh-action-manage-milestone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulbme%2Fgh-action-manage-milestone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulbme%2Fgh-action-manage-milestone/lists"}