{"id":13473846,"url":"https://github.com/alex-page/add-new-issue-project","last_synced_at":"2025-03-26T19:34:51.489Z","repository":{"id":57173189,"uuid":"180904725","full_name":"alex-page/add-new-issue-project","owner":"alex-page","description":"✨ GitHub action to magically add new issues to projects","archived":true,"fork":false,"pushed_at":"2019-08-31T21:01:51.000Z","size":120,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T06:33:37.088Z","etag":null,"topics":["github-actions","github-projects","issues"],"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/alex-page.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-12T01:15:48.000Z","updated_at":"2023-01-28T17:22:56.000Z","dependencies_parsed_at":"2022-08-24T13:31:03.672Z","dependency_job_id":null,"html_url":"https://github.com/alex-page/add-new-issue-project","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-page%2Fadd-new-issue-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-page%2Fadd-new-issue-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-page%2Fadd-new-issue-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-page%2Fadd-new-issue-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alex-page","download_url":"https://codeload.github.com/alex-page/add-new-issue-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245722972,"owners_count":20661858,"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-projects","issues"],"created_at":"2024-07-31T16:01:07.448Z","updated_at":"2025-03-26T19:34:50.201Z","avatar_url":"https://github.com/alex-page.png","language":"JavaScript","funding_links":[],"categories":["Community Resources"],"sub_categories":["GitHub Tools and Management"],"readme":"# ‼️This is no longer supported ‼️\n\nPlease use [`GitHub Project Automation+`](https://github.com/marketplace/actions/github-project-automation) instead. The following snippet adds all new issues to a project column using GitHub Project Automation+:\n\n```yml\nname: Automate project columns\n\non: [issues]\n\njobs:\n  automate-project-columns:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Move new issues into Triage\n        if: github.event_name == 'issues' \u0026\u0026 github.event.action == 'opened'\n        uses: alex-page/automate-project-columns@master\n        with:\n          project: Backlog\n          column: Triage\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n---\n\n\n# Add new issues to project\n\n\u003e ✨ GitHub action to automagically add new issues to projects.\n\n\n## How to use\n\nTo use this action we need the project name and the name of the column for the new issues will go into. The project and column names will be used to get a column ID for automation.\n\nIn your project create a new workflow file `.github/main.workflow`:\n```\nworkflow \"✨Add new issues to projects\" {\n  resolves = [\"alex-page/add-new-issue-project\"]\n  on = \"issues\"\n}\n\naction \"alex-page/add-new-issue-project\" {\n  uses = \"alex-page/add-new-issue-project@master\"\n  args = [ \"🎒 Backlog\", \"To do\"]\n  secrets = [\"GITHUB_TOKEN\"]\n}\n```\n\n\u003e Note: Replace `🎒 Backlog` with your project name and `To do` with your project column.\n\n\n## Private repositories\n\nIn some cases you may want to do add this functionality for a private repository or one you do not have admin rights to. You may get an error like:\n```shell\nGraphqlError: Resource not accessible by integration\n```\n\nWhen this happens you will need to provide a [personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line). To do this you will need to create a new secret called `GH_PAT` with your secret. You will then need to change the `.github/main.workflow` secrets to include that token:\n```\nsecrets = [\"GH_PAT\"]\n```\n\nWith certain organisations there may be SAML enforcement. This means you will need to `Enable SSO` when you create the personal access token.\n```\nGraphqlError: Resource protected by organization SAML enforcement. You must grant your personal token access to this organization\n```\n\n\n## Release history\n\n- v0.0.5 - Deprecated\n- v0.0.4 - Fix action `index.js` location, add optional personal access token for private repos\n- v0.0.3 - Add missing labels for action release\n- v0.0.2 - End in a neutral state for unsupported issue action\n- v0.0.1 - First release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex-page%2Fadd-new-issue-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falex-page%2Fadd-new-issue-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex-page%2Fadd-new-issue-project/lists"}