{"id":18436086,"url":"https://github.com/codenotary/addhook","last_synced_at":"2025-04-14T10:57:42.510Z","repository":{"id":156159065,"uuid":"632874467","full_name":"codenotary/addhook","owner":"codenotary","description":"Adds webhook to all repositories from one (or more) organizations","archived":false,"fork":false,"pushed_at":"2023-04-26T10:10:33.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T10:57:38.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenotary.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":"2023-04-26T10:01:11.000Z","updated_at":"2023-04-26T10:04:44.000Z","dependencies_parsed_at":"2023-05-17T19:45:14.582Z","dependency_job_id":null,"html_url":"https://github.com/codenotary/addhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenotary%2Faddhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenotary%2Faddhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenotary%2Faddhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenotary%2Faddhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenotary","download_url":"https://codeload.github.com/codenotary/addhook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868806,"owners_count":21174757,"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-06T06:10:15.472Z","updated_at":"2025-04-14T10:57:42.491Z","avatar_url":"https://github.com/codenotary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# addhook\nAdds webhook to all repositories from one (or more) organizations\n\n## Usage\n```\nusage: addhook [-h] -t TOKEN -o ORG [-w WEBHOOK] -s SECRET\n\nAdd webhook to all repos\n\noptions:\n  -h, --help            show this help message and exit\n  -t TOKEN, --token TOKEN\n                        GitHub personal token\n  -o ORG, --org ORG     GitHub organization\n  -w WEBHOOK, --webhook WEBHOOK\n                        Webhook to add\n  -s SECRET, --secret SECRET\n                        Webhook secret\n```\n\nThis script adds a webhook to all repositories it can find in one (or more) organizations. That webhook will only be tied and triggered on `workflow_run` events.\n\nSpecify the organization with flag `-o`, that can be used multiple times (e.g.: `-o foo -o bar`).\n\nUse flag `-w` to set the webhook url; use the full url, including the schema (i.e., `http` or `https`).\n\nIt is (at the moment) mandatory to specify a secret: use flag `-s` for that.\n\nTo access GitHub APIs, the script needs an access token. Get a personal token from github; you need to use \"classical\" tokens. Remember to allow the token to access (in write mode) webhook settings.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenotary%2Faddhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenotary%2Faddhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenotary%2Faddhook/lists"}