{"id":26758744,"url":"https://github.com/1natsu172/github-action-auto-move-related-issue","last_synced_at":"2025-04-15T05:57:12.907Z","repository":{"id":38978995,"uuid":"268274192","full_name":"1natsu172/github-action-auto-move-related-issue","owner":"1natsu172","description":"Move the open-issue described in the \"Issue\" paragraph to a specific project column.","archived":false,"fork":false,"pushed_at":"2025-04-12T03:47:25.000Z","size":2010,"stargazers_count":5,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T05:57:08.819Z","etag":null,"topics":["github-actions","github-project","issue-management"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/auto-move-related-issue","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/1natsu172.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":"2020-05-31T12:21:26.000Z","updated_at":"2023-03-21T21:19:21.000Z","dependencies_parsed_at":"2024-08-29T06:43:04.025Z","dependency_job_id":"3927e32d-9959-492c-8dbc-6999e4cf8636","html_url":"https://github.com/1natsu172/github-action-auto-move-related-issue","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1natsu172%2Fgithub-action-auto-move-related-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1natsu172%2Fgithub-action-auto-move-related-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1natsu172%2Fgithub-action-auto-move-related-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1natsu172%2Fgithub-action-auto-move-related-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1natsu172","download_url":"https://codeload.github.com/1natsu172/github-action-auto-move-related-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016321,"owners_count":21198832,"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":["github-actions","github-project","issue-management"],"created_at":"2025-03-28T16:32:35.505Z","updated_at":"2025-04-15T05:57:12.884Z","avatar_url":"https://github.com/1natsu172.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/actions/typescript-action/actions\"\u003e\u003cimg alt=\"typescript-action status\" src=\"https://github.com/actions/typescript-action/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# GitHub Actions auto-move-related-issue\n\nThis is GitHub Actions that move the open-issue described in the \"Issue\" paragraph to a specific project column.\n\nThe supported action webhook events are `issues` | `pull_request`.\n\n\u003e Note: The development is primarily focused on `closed` events, so it may not work with certain event triggers.\n\n\n## Screenshot\n![DEMO GIF](https://raw.githubusercontent.com/1natsu172/github-action-auto-move-related-issue/b32ac32e466fe77b3442cc3e5cd348f5d87bd024/media/work-demo.gif)\n\n## Usage\n\n### Setup workflow file\n\nexample `.github/workflows/auto-move-related-issue.yml`\n\n```yaml\nname: \"Auto move related issue\"\non:\n  pull_request:\n    types: [closed]\n\njobs:\n  auto-move-related-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: 1natsu172/github-action-auto-move-related-issue@v1\n        id: auto-move-related-issue_action\n        with:\n          # github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          config: \"auto-move-related-issue-config.yml\"\n```\n\n・Tips\n\nIf you only want to run the pull_request on merged, you can write the steps configuration as follows.\n\n```yaml\n    steps:\n      - uses: 1natsu172/github-action-auto-move-related-issue@v1\n        if: github.event_name == 'pull_request' \u0026\u0026 github.event.action == 'closed' \u0026\u0026 github.event.pull_request.merged == true\n        id: auto-move-related-issue_action\n        with:\n          # github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          config: \"auto-move-related-issue-config.yml\"\n```\n\n・ `with` options\n\n| name         | description      | default                              | required | e.g.                               |\n| :----------: | ---------------- | :----------------------------------: | :------: | :--------------------------------: |\n| config       | Config file name | `auto-move-related-issue-config.yml` | true     | `move-related-issue-on-merged.yml` |\n| github_token | Access token     | `${{github.token}}`                  | true     | `${{secrets.ACCESS_TOKEN}}`        |\n\n### Configure target project and column names\n\nexample `.github/auto-move-related-issue-config.yml`\n\n```yaml\nprojectName: \"kanban1\"\ncolumnName: \"Review in progress\"\n```\n\n**This action support single project and single column target.**\n\n### Please write an `Issue` paragraph in your Issue or PullRequest content\n\n**Must write `Issue` paragraph and Issue or PullRequest number or url**\n\n![content-body-example](https://github.com/1natsu172/github-action-auto-move-related-issue/blob/b32ac32e466fe77b3442cc3e5cd348f5d87bd024/media/content-body-example.png?raw=true)\n\nexample\n\n```markdown\n# Issue\n\n#1\n#3\nhttps://github.com/sushi-kun/github-projects-lab/issues/5\n\n# Summary\n\n.\n.\n.\n```\n\n## Config rules\n\n### Write the exact name\n\nAccording to the image below.\n\n![project name and column name is here](https://github.com/1natsu172/github-action-auto-move-related-issue/blob/b32ac32e466fe77b3442cc3e5cd348f5d87bd024/media/project-and-column-name.png?raw=true)\n\n## Behavior\n\nOnly the Issue or PullRequest number or url in the issue paragraph will be targeted. It also ignores issues that have been given keywords to close.\n\n\u003e ref: [Closing issues using keywords](https://help.github.com/en/enterprise/2.16/user/github/managing-your-work-on-github/closing-issues-using-keywords)\n\nSupport for Issue or PullRequest that has not been added to the target project. It is automatically added to the target column even if it has not been added to the project.\n\n## FAQ\n\n### ・Not moved or some Issue or PullRequest is not moved.\n\nDo you have any extra information in your Issue paragraph other than a number or URL?\nIt is recommended to describe Issue paragraph as simply as possible, with only the number and URL.\n\n\n## Support action trigger events\n\n| eventName    | action types |\n| :----------: | :----------: |\n| issues       | any          |\n| pull_request | any          |\n\n## Versioning\n\nUse [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/1natsu172/github-action-auto-move-related-issue/tags). \n\n## ©️ License\n\nMIT © [1natsu172](https://github.com/1natsu172)\n\n\n---\n\n## For developer\n\n### Versioning\n\nThe presence or absence of the `v` prefix is ​​intentional.\n\n`v1 = \"^1.0.0\"`\n`1.0.0 = \"1.0.0\"`\n\nWhenever release, must release the new version(non-v-prefix) and major version release(has-v-prefix).\n\nref: https://github.com/actions/toolkit/blob/master/docs/action-versioning.md\n\n### After new release branch merged\n\n#### Release new specific version\n\nRelease by GUI operation according to the official publishing-action guide.\n\nhttps://help.github.com/ja/actions/building-actions/publishing-actions-in-github-marketplace#publishing-an-action\n\nBe careful: specific version release tag is `non-v-prefix`\n\n#### Update major version tag\n\nAnd then, update existing major version tag by local push.\n\n```bash\ngit checkout master\ngit tag -fa v1 -m \"Update v1 tag\"\ngit push origin v1 --force\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1natsu172%2Fgithub-action-auto-move-related-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1natsu172%2Fgithub-action-auto-move-related-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1natsu172%2Fgithub-action-auto-move-related-issue/lists"}