{"id":25933331,"url":"https://github.com/iyu/actions-milestone","last_synced_at":"2025-03-04T00:53:28.636Z","repository":{"id":40249596,"uuid":"224797300","full_name":"iyu/actions-milestone","owner":"iyu","description":"This action add milestone to PRs","archived":false,"fork":false,"pushed_at":"2024-04-24T10:34:29.000Z","size":2493,"stargazers_count":11,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T15:03:11.908Z","etag":null,"topics":["actions","github","github-actions","milestone","typescript"],"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/iyu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-29T07:10:06.000Z","updated_at":"2024-06-17T08:30:18.290Z","dependencies_parsed_at":"2024-06-17T08:40:18.339Z","dependency_job_id":null,"html_url":"https://github.com/iyu/actions-milestone","commit_stats":{"total_commits":30,"total_committers":3,"mean_commits":10.0,"dds":0.5333333333333333,"last_synced_commit":"170af49424343d20ecfdaf3594d0fd1c1a49defb"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyu%2Factions-milestone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyu%2Factions-milestone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyu%2Factions-milestone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyu%2Factions-milestone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iyu","download_url":"https://codeload.github.com/iyu/actions-milestone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241763726,"owners_count":20016162,"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","github-actions","milestone","typescript"],"created_at":"2025-03-04T00:53:28.088Z","updated_at":"2025-03-04T00:53:28.625Z","avatar_url":"https://github.com/iyu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub Actions status](https://github.com/iyu/actions-milestone/workflows/Lint%20and%20Test/badge.svg)](https://github.com/iyu/actions-milestone)\n\n# ActionsMilestone\n\nThis action add milestone to PRs.:hammer:\n\n## Inputs\n\n### `repo-token`\n\n**required** The GITHUB_TOKEN secret.\n\n### `configuration-path`\n\n**required** The path for the milestone configurations. Default `\".github/milestone.yml\"`\n\n*Note if the configuration is located outside of the repository, like it could be if used in a reusable workflow, the reference of\nthe configuration file must be defined with the `@` syntax, e.g. `\".github/milestone.yml@master\"`*\n\n### `configuration-repo`\n\nThe repository where the configuration is located (default to the same repos as the action). This\ninput is needed when the action is used inside a reusable workflow outside of the action caller repository.\n\n### `silent`\n\nBe silent in case of any failures.\n\n### `force`\n\nOverwrite the PR's milestone if it is already set and doesn't match the one found from the config. NOTE: do nothing if there is no milestone match from the config.\n\n### `clear`\n\nClear the PR's milestone if it is already set and there is no match from the configuration.\n\n## Outputs\n\n### `milestone`\n\nThe added/modified milestone or `null` when no milestone is set.\n\n### `previous`\n\nPrevious milestone or `null` when no milestone was set.\n\n## Example usage\n\n### `.github/milestone.yml`\n\n```yaml\nbase-branch:\n  - \"(master)\"\n  - \"releases\\\\/(v\\\\d+)\"\n\nhead-branch:\n  - \"feature\\\\/(v\\\\d+)\\\\/.+\"\n```\n\n### `.github/workflows/milestone.yml`\n\n```yaml\nname: Pull Request Milestone\n\non:\n  pull_request:\n    types:\n      - opened\n\njobs:\n  milestone:\n    name: Pull Request Milestone\n    runs-on: ubuntu-latest\n    steps:\n      - uses: iyu/actions-milestone@v1\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: .github/milestone.yml\n          silent: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyu%2Factions-milestone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiyu%2Factions-milestone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyu%2Factions-milestone/lists"}