{"id":20696825,"url":"https://github.com/actionsdesk/actions-app-repository-management","last_synced_at":"2025-09-27T07:30:55.897Z","repository":{"id":40705096,"uuid":"335909243","full_name":"ActionsDesk/actions-app-repository-management","owner":"ActionsDesk","description":"Manage repository access for GitHub Apps using GitHub Actions and issue templates","archived":false,"fork":false,"pushed_at":"2024-03-25T08:12:03.000Z","size":1608,"stargazers_count":1,"open_issues_count":19,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-17T00:19:53.909Z","etag":null,"topics":[],"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/ActionsDesk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-04T09:52:45.000Z","updated_at":"2023-10-12T11:35:53.000Z","dependencies_parsed_at":"2023-02-08T03:31:23.430Z","dependency_job_id":null,"html_url":"https://github.com/ActionsDesk/actions-app-repository-management","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Factions-app-repository-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Factions-app-repository-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Factions-app-repository-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Factions-app-repository-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActionsDesk","download_url":"https://codeload.github.com/ActionsDesk/actions-app-repository-management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234409145,"owners_count":18827938,"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":[],"created_at":"2024-11-17T00:15:31.509Z","updated_at":"2025-09-27T07:30:55.545Z","avatar_url":"https://github.com/ActionsDesk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub App Repository Management\n\nThis repository is a template for Services customers to setup an automation for onboarding\nGitHub app repos into installed GitHub apps with the `selected` option for repository selection.\n\n\u003e DISCLAIMER: Since this is considered a template to be used with customers, opening the issues here will not grant any \naccess in the GitHub organization\n\n## Available GitHub Applications\n\nThis list is autogenerated using the script from [app-list-generator](./app-list-generator)\n\n| ID                     | Name                   | Description                                          | Owner   | Permissions                                                                                                                          |\n| ---------------------- | ---------------------- | ---------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------ |\n| test-app               | test-app               | This is a description for the test we are performing | hubber  | - contents (write)\u003cbr\u003e- metadata (read)\u003cbr\u003e- environments (write)\u003cbr\u003e- administration (write)\u003cbr\u003e- organization_packages (write)\u003cbr\u003e |\n\n## Instructions\n\nYou can request that a repository is added to, or removed from, one of the approved GitHub Applications by [raising an issue](https://github.com/github/actions-app-repository-management/issues) in this repository. \nThere are issue templates that you must use to get the action completed and you should ensure that you adhere to the following suggestions:\n\n- Do not change the title of the issue.\n  - Any changes to the title will mean the issue is closed without any further action.\n- The issue content should be valid yaml.\n  - If the content does not parse correctly then the ticket will be close without any further action.\n- You may supply multiple repositories and GitHub Application names.\n  - Valid repositories will be added to all valid GitHub Application names.\n- Once an issue has been opened it will be processed based on the initial data entered.\n  - Do not try to change the issue after raised as it will not be actioned.\n  - Once complete the issue will be locked and closed.\n  - Any comments added to an issue will be ignored.\n\n## How to use this repository\n\n- Clone this repository and change the documentation to fit the customer needs\n- Change the content of the file `githubapps.json` to contain the GitHub apps that you want to manage\n- Edit the templates in [ISSUE_TEMPLATE](./.github/ISSUE_TEMPLATE) to fit the policies required\n- Add the secret `PAT` to the GitHub actions secret with org:admin scope\n- Test that the workflows are workign as expected\n\n\u003e This repository requires `PAT` machine account authentication since the repository addition/deletion from the GitHub apps\n\u003e is not allowed with GitHub Apps scopes. \n\n### Single Repository To GitHub Application example content\n\n```\nRepository Name: \n- group-repositoryname\n\nGitHub Application: \n- github-app-name\n```\n\n### Multiple Repository To Multiple GitHub Applications example content\n\n```\nRepository Name: \n- group-repositoryone\n- group-repositorytwo\n- newgroup-repositorytwo\n\nGitHub Application: \n- github-app-name\n- github-app-name-two\n```\n\n## Test the app\n\nThe app contains tests that can be run with the following commands under `actions/app-management`:\n```bash\nnpm install\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Factions-app-repository-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factionsdesk%2Factions-app-repository-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Factions-app-repository-management/lists"}