{"id":22199246,"url":"https://github.com/babbel/assign-to-repository-projects","last_synced_at":"2026-04-27T12:05:29.837Z","repository":{"id":162911663,"uuid":"636681450","full_name":"babbel/assign-to-repository-projects","owner":"babbel","description":"Github Action asigning pull requests to GitHub projects of a repository","archived":false,"fork":false,"pushed_at":"2026-04-14T10:52:18.000Z","size":3113,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":20,"default_branch":"main","last_synced_at":"2026-04-14T12:16:55.040Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/babbel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-05T11:59:41.000Z","updated_at":"2026-04-14T10:29:01.000Z","dependencies_parsed_at":"2023-10-21T09:24:29.193Z","dependency_job_id":null,"html_url":"https://github.com/babbel/assign-to-repository-projects","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/babbel/assign-to-repository-projects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fassign-to-repository-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fassign-to-repository-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fassign-to-repository-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fassign-to-repository-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babbel","download_url":"https://codeload.github.com/babbel/assign-to-repository-projects/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babbel%2Fassign-to-repository-projects/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32160078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-12-02T15:13:45.044Z","updated_at":"2026-04-27T12:05:29.821Z","avatar_url":"https://github.com/babbel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assign-to-repository-projects\nGithub Action assigning pull requests to GitHub projects of a repository.\n\n## Context\n\nThis GitHub Action assigns a pull request to [GitHub projects](https://docs.github.com/en/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects) (aka Projects V2). The intended use case is, that a PR given by `pull_request` type GitHub action event should be assigned to one or more projects. The projects are give by a list of project titles. For each title, the PR is assigned to the matching project. After that the resulting project item's `Status` field value is set to `Todo`, additionally. (The field `Status` and the single select option `Todo` are created by default with any project by API and are assumed to exist.) The action is idempotent for GitHub projects given the same inputs.\n\n\n## Requirements\n\nThis GitHub action expects an GitHub action event of type [push](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push).\n\nMoreover, the GitHub token of a GitHub App installation is expected as environment variable `GITHUB_TOKEN`. The GitHub App requires the following permissions.\n\n- Read access to administration and metadata\n- Read and write access to code, organization projects and pull requests\n\n\n## Inputs\n\n| Name             | Description                                                                                     | Type         | Required? |\n|------------------|-------------------------------------------------------------------------------------------------|--------------|-----------|\n| `project-titles` | Space-separated list of titles of projects linked to this repository the PR will be assigned to | `string`     | YES       |\n\n\n## Outputs\n\n| Name             | Description                                                                               | Type    |\n|------------------|-------------------------------------------------------------------------------------------|---------|\n| `project-titles` | Space-separated list of titles of projects in this repository the PR has been assigned to | `string`|\n\n\n\n## Build process\n\nInstead of checking in `node_modules` for the [JavaScript action](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action)\nwe are using [ncc](https://github.com/vercel/ncc). To build the project run `npm run build`.\n\n\n## Tests\n\nThis project is using [Jest](https://jestjs.io/) for testing. Combining Jest and ES modules [requires](https://jestjs.io/docs/ecmascript-modules) setting node flag `--experimental-vm-modules`. Run the tests as follows.\n\n```\nNODE_OPTIONS='--experimental-vm-modules' npm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabbel%2Fassign-to-repository-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabbel%2Fassign-to-repository-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabbel%2Fassign-to-repository-projects/lists"}