{"id":20915817,"url":"https://github.com/dessant/issue-states","last_synced_at":"2025-10-03T22:02:50.978Z","repository":{"id":63167233,"uuid":"137515867","full_name":"dessant/issue-states","owner":"dessant","description":":warning: PARTIALLY BROKEN - GitHub Action that closes or reopens issues when they are moved to a project column","archived":false,"fork":false,"pushed_at":"2023-11-14T05:49:04.000Z","size":857,"stargazers_count":85,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T18:08:43.584Z","etag":null,"topics":["close","github-actions","issues","open","project-automation","projects"],"latest_commit_sha":null,"homepage":"","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/dessant.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"dessant","patreon":"dessant","custom":["https://armin.dev/go/paypal","https://armin.dev/go/bitcoin"]}},"created_at":"2018-06-15T17:37:12.000Z","updated_at":"2025-02-19T15:54:20.000Z","dependencies_parsed_at":"2023-11-14T06:39:54.282Z","dependency_job_id":null,"html_url":"https://github.com/dessant/issue-states","commit_stats":{"total_commits":60,"total_committers":2,"mean_commits":30.0,"dds":"0.43333333333333335","last_synced_commit":"a1bd84606ef48dca24ce24140e068516a74b3e0b"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Fissue-states","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Fissue-states/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Fissue-states/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Fissue-states/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dessant","download_url":"https://codeload.github.com/dessant/issue-states/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253910136,"owners_count":21982696,"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":["close","github-actions","issues","open","project-automation","projects"],"created_at":"2024-11-18T16:18:32.435Z","updated_at":"2025-10-03T22:02:45.935Z","avatar_url":"https://github.com/dessant.png","language":"JavaScript","funding_links":["https://github.com/sponsors/dessant","https://patreon.com/dessant","https://armin.dev/go/paypal","https://armin.dev/go/bitcoin"],"categories":[],"sub_categories":[],"readme":"# Issue States\n\n\u003e :warning: The action does not work with modern projects: https://github.com/dessant/issue-states/issues/2\n\nIssue States is a GitHub Action that closes or reopens issues\nwhen they are moved to a project column.\n\n![](assets/screenshot.png)\n\n## Supporting the Project\n\nThe continued development of Issue States is made possible\nthanks to the support of awesome backers. If you'd like to join them,\nplease consider contributing with\n[Patreon](https://armin.dev/go/patreon?pr=issue-states\u0026src=repo),\n[PayPal](https://armin.dev/go/paypal?pr=issue-states\u0026src=repo) or\n[Bitcoin](https://armin.dev/go/bitcoin?pr=issue-states\u0026src=repo).\n\n## Usage\n\n1. Create the `issue-states.yml` workflow file in the `.github/workflows`\n   directory, use one of the [example workflows](#examples) to get started\n2. Start adding or moving issues to the project columns declared\n   in `open-issue-columns` and `closed-issue-columns`\n\nIssues which were already in the respective columns before the action\nwas set up will not be processed. To process these issues,\nmove them to a different column, then move them back.\n\nCare must be taken during the use of the action to not conflict\nwith project automation presets on GitHub.\n\n### Inputs\n\nThe action can be configured using [input parameters](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepswith).\n\n\u003c!-- prettier-ignore --\u003e\n- **`github-token`**\n  - GitHub access token, value must be `${{ github.token }}` or an encrypted\n    secret that contains a [personal access token](#using-a-personal-access-token)\n  - Optional, defaults to `${{ github.token }}`\n- **`open-issue-columns`**\n  - Reopen issues that are moved to these project columns, value must be\n    a comma separated list of project columns\n  - Optional, defaults to `''`\n- **`closed-issue-columns`**\n  - Close issues that are moved to these project columns, value must be\n    a comma separated list of project columns\n  - Optional, defaults to `Closed, Done`\n- **`log-output`**\n  - Log output parameters, value must be either `true` or `false`\n  - Optional, defaults to `false`\n\n### Outputs\n\n\u003c!-- prettier-ignore --\u003e\n- **`issues`**\n  - Issues that have been either closed or reopened, value is a JSON string\n    in the form of `[{\"owner\": \"actions\", \"repo\": \"toolkit\", \"issue_number\": 1,\n    \"state\": \"closed\"}]`, value of `state` is either `open` or `closed`\n  - Defaults to `''`\n\n## Examples\n\nThe following workflow will close issues when they are moved\nto the `Closed` or `Done` project column.\n\n\u003c!-- prettier-ignore --\u003e\n```yaml\nname: 'Issue States'\n\non:\n  project_card:\n    types: [created, edited, moved]\n\npermissions:\n  repository-projects: read\n  issues: write\n  pull-requests: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/issue-states@v3\n```\n\n### Available input parameters\n\nThis workflow declares all the available input parameters of the action\nand their default values. Any of the parameters can be omitted.\n\n\u003c!-- prettier-ignore --\u003e\n```yaml\nname: 'Issue States'\n\non:\n  project_card:\n    types: [created, edited, moved]\n\npermissions:\n  repository-projects: read\n  issues: write\n  pull-requests: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/issue-states@v3\n        with:\n          github-token: ${{ github.token }}\n          open-issue-columns: ''\n          closed-issue-columns: 'Closed, Done'\n          log-output: false\n```\n\n### Using a personal access token\n\nThe action uses an installation access token by default to interact with GitHub.\nYou may also authenticate with a personal access token to perform actions\nas a GitHub user instead of the `github-actions` app.\n\nCreate a [personal access token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)\nwith the `repo` or `public_repo` scopes enabled, and add the token as an\n[encrypted secret](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository)\nfor the repository or organization, then provide the action with the secret\nusing the `github-token` input parameter.\n\n\u003c!-- prettier-ignore --\u003e\n```yaml\n    steps:\n      - uses: dessant/issue-states@v3\n        with:\n          github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n```\n\n## License\n\nCopyright (c) 2018-2023 Armin Sebastian\n\nThis software is released under the terms of the MIT License.\nSee the [LICENSE](LICENSE) file for further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdessant%2Fissue-states","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdessant%2Fissue-states","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdessant%2Fissue-states/lists"}