diff --git a/.github/workflows/notify_on_pull_request_open.yaml b/.github/workflows/notify_on_pull_request_open.yaml index 75322ff..88c8bd6 100644 --- a/.github/workflows/notify_on_pull_request_open.yaml +++ b/.github/workflows/notify_on_pull_request_open.yaml @@ -7,21 +7,7 @@ on: jobs: notify: - defaults: - run: - working-directory: ./.github/workflows/notify_on_pull_request_open - - name: notify - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: notify telegram when pull request is a created - shell: bash - run: | - ./build_pull_request_notification.sh $GITHUB_EVENT_PATH > notify_on_pull_request_open_message - - name: send contribution report to osscameroon channel - uses: appleboy/telegram-action@v0.1.1 - with: - to: ${{ secrets.TELEGRAM_OSSCAMEROON_CHANNEL_ID }} - token: ${{ secrets.TELEGRAM_BOT_TOKEN }} - message_file: ./.github/workflows/notify_on_pull_request_open/notify_on_pull_request_open_message + uses: osscameroon/global-github-actions/.github/workflows/notify_on_pull_request_open.yaml@main + secrets: + telegram_channel_id: ${{ secrets.TELEGRAM_OSSCAMEROON_CHANNEL_ID }} + telegram_token: ${{ secrets.TELEGRAM_BOT_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/notify_on_pull_request_open/build_pull_request_notification.sh b/.github/workflows/notify_on_pull_request_open/build_pull_request_notification.sh deleted file mode 100755 index 15a29c0..0000000 --- a/.github/workflows/notify_on_pull_request_open/build_pull_request_notification.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -FILE=$1 - -LINK=$(cat $FILE | jq '.pull_request._links.html.href' -r) -TITLE=$(cat $FILE | jq '.pull_request.title' -r) -DESCRIPTION=$(cat $FILE | jq '.pull_request.body' -r) -USER=$(cat $FILE | jq '.sender.login' -r) - -echo "A new pull request was submitted by $USER" -echo "Please check it out here $LINK" -echo "And feel free to review it" -echo "" -echo "Title: $TITLE" -echo "Description: " -echo "$DESCRIPTION" diff --git a/.github/workflows/notify_on_pull_request_open/fixtures/pr-event.json b/.github/workflows/notify_on_pull_request_open/fixtures/pr-event.json deleted file mode 100644 index 43c0971..0000000 --- a/.github/workflows/notify_on_pull_request_open/fixtures/pr-event.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "action": "opened", - "number": 6, - "organization": { - "avatar_url": "https://avatars.githubusercontent.com/u/73784866?v=4", - "description": "Open source society driven by Cameroonian developers.", - "events_url": "https://api.github.com/orgs/osscameroon/events", - "hooks_url": "https://api.github.com/orgs/osscameroon/hooks", - "id": 73784866, - "issues_url": "https://api.github.com/orgs/osscameroon/issues", - "login": "osscameroon", - "members_url": "https://api.github.com/orgs/osscameroon/members{/member}", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjczNzg0ODY2", - "public_members_url": "https://api.github.com/orgs/osscameroon/public_members{/member}", - "repos_url": "https://api.github.com/orgs/osscameroon/repos", - "url": "https://api.github.com/orgs/osscameroon" - }, - "pull_request": { - "_links": { - "comments": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/issues/6/comments" - }, - "commits": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/6/commits" - }, - "html": { - "href": "https://github.com/osscameroon/global-github-actions/pull/6" - }, - "issue": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/issues/6" - }, - "review_comment": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/comments{/number}" - }, - "review_comments": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/6/comments" - }, - "self": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/6" - }, - "statuses": { - "href": "https://api.github.com/repos/osscameroon/global-github-actions/statuses/01965e029f277bdb0dbe33b129b4be6a8a7d0695" - } - }, - "active_lock_reason": null, - "additions": 0, - "assignee": null, - "assignees": [], - "author_association": "MEMBER", - "auto_merge": null, - "base": { - "label": "osscameroon:main", - "ref": "main", - "repo": { - "allow_auto_merge": false, - "allow_forking": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "allow_squash_merge": true, - "archive_url": "https://api.github.com/repos/osscameroon/global-github-actions/{archive_format}{/ref}", - "archived": false, - "assignees_url": "https://api.github.com/repos/osscameroon/global-github-actions/assignees{/user}", - "blobs_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/osscameroon/global-github-actions/branches{/branch}", - "clone_url": "https://github.com/osscameroon/global-github-actions.git", - "collaborators_url": "https://api.github.com/repos/osscameroon/global-github-actions/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/osscameroon/global-github-actions/comments{/number}", - "commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/commits{/sha}", - "compare_url": "https://api.github.com/repos/osscameroon/global-github-actions/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/osscameroon/global-github-actions/contents/{+path}", - "contributors_url": "https://api.github.com/repos/osscameroon/global-github-actions/contributors", - "created_at": "2021-08-17T10:28:47Z", - "default_branch": "main", - "delete_branch_on_merge": false, - "deployments_url": "https://api.github.com/repos/osscameroon/global-github-actions/deployments", - "description": "github actions that we run for the entire github organisation", - "disabled": false, - "downloads_url": "https://api.github.com/repos/osscameroon/global-github-actions/downloads", - "events_url": "https://api.github.com/repos/osscameroon/global-github-actions/events", - "fork": false, - "forks": 1, - "forks_count": 1, - "forks_url": "https://api.github.com/repos/osscameroon/global-github-actions/forks", - "full_name": "osscameroon/global-github-actions", - "git_commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/tags{/sha}", - "git_url": "git://github.com/osscameroon/global-github-actions.git", - "has_downloads": true, - "has_issues": true, - "has_pages": false, - "has_projects": true, - "has_wiki": true, - "homepage": null, - "hooks_url": "https://api.github.com/repos/osscameroon/global-github-actions/hooks", - "html_url": "https://github.com/osscameroon/global-github-actions", - "id": 397209929, - "is_template": false, - "issue_comment_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/events{/number}", - "issues_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues{/number}", - "keys_url": "https://api.github.com/repos/osscameroon/global-github-actions/keys{/key_id}", - "labels_url": "https://api.github.com/repos/osscameroon/global-github-actions/labels{/name}", - "language": "Shell", - "languages_url": "https://api.github.com/repos/osscameroon/global-github-actions/languages", - "license": { - "key": "gpl-3.0", - "name": "GNU General Public License v3.0", - "node_id": "MDc6TGljZW5zZTk=", - "spdx_id": "GPL-3.0", - "url": "https://api.github.com/licenses/gpl-3.0" - }, - "merges_url": "https://api.github.com/repos/osscameroon/global-github-actions/merges", - "milestones_url": "https://api.github.com/repos/osscameroon/global-github-actions/milestones{/number}", - "mirror_url": null, - "name": "global-github-actions", - "node_id": "MDEwOlJlcG9zaXRvcnkzOTcyMDk5Mjk=", - "notifications_url": "https://api.github.com/repos/osscameroon/global-github-actions/notifications{?since,all,participating}", - "open_issues": 4, - "open_issues_count": 4, - "owner": { - "avatar_url": "https://avatars.githubusercontent.com/u/73784866?v=4", - "events_url": "https://api.github.com/users/osscameroon/events{/privacy}", - "followers_url": "https://api.github.com/users/osscameroon/followers", - "following_url": "https://api.github.com/users/osscameroon/following{/other_user}", - "gists_url": "https://api.github.com/users/osscameroon/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/osscameroon", - "id": 73784866, - "login": "osscameroon", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjczNzg0ODY2", - "organizations_url": "https://api.github.com/users/osscameroon/orgs", - "received_events_url": "https://api.github.com/users/osscameroon/received_events", - "repos_url": "https://api.github.com/users/osscameroon/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/osscameroon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/osscameroon/subscriptions", - "type": "Organization", - "url": "https://api.github.com/users/osscameroon" - }, - "private": false, - "pulls_url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls{/number}", - "pushed_at": "2021-10-26T16:24:37Z", - "releases_url": "https://api.github.com/repos/osscameroon/global-github-actions/releases{/id}", - "size": 29, - "ssh_url": "git@github.com:osscameroon/global-github-actions.git", - "stargazers_count": 0, - "stargazers_url": "https://api.github.com/repos/osscameroon/global-github-actions/stargazers", - "statuses_url": "https://api.github.com/repos/osscameroon/global-github-actions/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/osscameroon/global-github-actions/subscribers", - "subscription_url": "https://api.github.com/repos/osscameroon/global-github-actions/subscription", - "svn_url": "https://github.com/osscameroon/global-github-actions", - "tags_url": "https://api.github.com/repos/osscameroon/global-github-actions/tags", - "teams_url": "https://api.github.com/repos/osscameroon/global-github-actions/teams", - "topics": [], - "trees_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/trees{/sha}", - "updated_at": "2021-10-26T16:22:39Z", - "url": "https://api.github.com/repos/osscameroon/global-github-actions", - "visibility": "public", - "watchers": 0, - "watchers_count": 0 - }, - "sha": "513c4f4ee47d92a5e924270d579bd62569aedaa8", - "user": { - "avatar_url": "https://avatars.githubusercontent.com/u/73784866?v=4", - "events_url": "https://api.github.com/users/osscameroon/events{/privacy}", - "followers_url": "https://api.github.com/users/osscameroon/followers", - "following_url": "https://api.github.com/users/osscameroon/following{/other_user}", - "gists_url": "https://api.github.com/users/osscameroon/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/osscameroon", - "id": 73784866, - "login": "osscameroon", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjczNzg0ODY2", - "organizations_url": "https://api.github.com/users/osscameroon/orgs", - "received_events_url": "https://api.github.com/users/osscameroon/received_events", - "repos_url": "https://api.github.com/users/osscameroon/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/osscameroon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/osscameroon/subscriptions", - "type": "Organization", - "url": "https://api.github.com/users/osscameroon" - } - }, - "body": "My description and nothing else, AYOP", - "changed_files": 1, - "closed_at": null, - "comments": 0, - "comments_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/6/comments", - "commits": 1, - "commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/6/commits", - "created_at": "2021-10-26T16:29:43Z", - "deletions": 0, - "diff_url": "https://github.com/osscameroon/global-github-actions/pull/6.diff", - "draft": false, - "head": { - "label": "osscameroon:test-1", - "ref": "test-1", - "repo": { - "allow_auto_merge": false, - "allow_forking": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "allow_squash_merge": true, - "archive_url": "https://api.github.com/repos/osscameroon/global-github-actions/{archive_format}{/ref}", - "archived": false, - "assignees_url": "https://api.github.com/repos/osscameroon/global-github-actions/assignees{/user}", - "blobs_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/osscameroon/global-github-actions/branches{/branch}", - "clone_url": "https://github.com/osscameroon/global-github-actions.git", - "collaborators_url": "https://api.github.com/repos/osscameroon/global-github-actions/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/osscameroon/global-github-actions/comments{/number}", - "commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/commits{/sha}", - "compare_url": "https://api.github.com/repos/osscameroon/global-github-actions/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/osscameroon/global-github-actions/contents/{+path}", - "contributors_url": "https://api.github.com/repos/osscameroon/global-github-actions/contributors", - "created_at": "2021-08-17T10:28:47Z", - "default_branch": "main", - "delete_branch_on_merge": false, - "deployments_url": "https://api.github.com/repos/osscameroon/global-github-actions/deployments", - "description": "github actions that we run for the entire github organisation", - "disabled": false, - "downloads_url": "https://api.github.com/repos/osscameroon/global-github-actions/downloads", - "events_url": "https://api.github.com/repos/osscameroon/global-github-actions/events", - "fork": false, - "forks": 1, - "forks_count": 1, - "forks_url": "https://api.github.com/repos/osscameroon/global-github-actions/forks", - "full_name": "osscameroon/global-github-actions", - "git_commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/tags{/sha}", - "git_url": "git://github.com/osscameroon/global-github-actions.git", - "has_downloads": true, - "has_issues": true, - "has_pages": false, - "has_projects": true, - "has_wiki": true, - "homepage": null, - "hooks_url": "https://api.github.com/repos/osscameroon/global-github-actions/hooks", - "html_url": "https://github.com/osscameroon/global-github-actions", - "id": 397209929, - "is_template": false, - "issue_comment_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/events{/number}", - "issues_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues{/number}", - "keys_url": "https://api.github.com/repos/osscameroon/global-github-actions/keys{/key_id}", - "labels_url": "https://api.github.com/repos/osscameroon/global-github-actions/labels{/name}", - "language": "Shell", - "languages_url": "https://api.github.com/repos/osscameroon/global-github-actions/languages", - "license": { - "key": "gpl-3.0", - "name": "GNU General Public License v3.0", - "node_id": "MDc6TGljZW5zZTk=", - "spdx_id": "GPL-3.0", - "url": "https://api.github.com/licenses/gpl-3.0" - }, - "merges_url": "https://api.github.com/repos/osscameroon/global-github-actions/merges", - "milestones_url": "https://api.github.com/repos/osscameroon/global-github-actions/milestones{/number}", - "mirror_url": null, - "name": "global-github-actions", - "node_id": "MDEwOlJlcG9zaXRvcnkzOTcyMDk5Mjk=", - "notifications_url": "https://api.github.com/repos/osscameroon/global-github-actions/notifications{?since,all,participating}", - "open_issues": 4, - "open_issues_count": 4, - "owner": { - "avatar_url": "https://avatars.githubusercontent.com/u/73784866?v=4", - "events_url": "https://api.github.com/users/osscameroon/events{/privacy}", - "followers_url": "https://api.github.com/users/osscameroon/followers", - "following_url": "https://api.github.com/users/osscameroon/following{/other_user}", - "gists_url": "https://api.github.com/users/osscameroon/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/osscameroon", - "id": 73784866, - "login": "osscameroon", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjczNzg0ODY2", - "organizations_url": "https://api.github.com/users/osscameroon/orgs", - "received_events_url": "https://api.github.com/users/osscameroon/received_events", - "repos_url": "https://api.github.com/users/osscameroon/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/osscameroon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/osscameroon/subscriptions", - "type": "Organization", - "url": "https://api.github.com/users/osscameroon" - }, - "private": false, - "pulls_url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls{/number}", - "pushed_at": "2021-10-26T16:24:37Z", - "releases_url": "https://api.github.com/repos/osscameroon/global-github-actions/releases{/id}", - "size": 29, - "ssh_url": "git@github.com:osscameroon/global-github-actions.git", - "stargazers_count": 0, - "stargazers_url": "https://api.github.com/repos/osscameroon/global-github-actions/stargazers", - "statuses_url": "https://api.github.com/repos/osscameroon/global-github-actions/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/osscameroon/global-github-actions/subscribers", - "subscription_url": "https://api.github.com/repos/osscameroon/global-github-actions/subscription", - "svn_url": "https://github.com/osscameroon/global-github-actions", - "tags_url": "https://api.github.com/repos/osscameroon/global-github-actions/tags", - "teams_url": "https://api.github.com/repos/osscameroon/global-github-actions/teams", - "topics": [], - "trees_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/trees{/sha}", - "updated_at": "2021-10-26T16:22:39Z", - "url": "https://api.github.com/repos/osscameroon/global-github-actions", - "visibility": "public", - "watchers": 0, - "watchers_count": 0 - }, - "sha": "01965e029f277bdb0dbe33b129b4be6a8a7d0695", - "user": { - "avatar_url": "https://avatars.githubusercontent.com/u/73784866?v=4", - "events_url": "https://api.github.com/users/osscameroon/events{/privacy}", - "followers_url": "https://api.github.com/users/osscameroon/followers", - "following_url": "https://api.github.com/users/osscameroon/following{/other_user}", - "gists_url": "https://api.github.com/users/osscameroon/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/osscameroon", - "id": 73784866, - "login": "osscameroon", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjczNzg0ODY2", - "organizations_url": "https://api.github.com/users/osscameroon/orgs", - "received_events_url": "https://api.github.com/users/osscameroon/received_events", - "repos_url": "https://api.github.com/users/osscameroon/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/osscameroon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/osscameroon/subscriptions", - "type": "Organization", - "url": "https://api.github.com/users/osscameroon" - } - }, - "html_url": "https://github.com/osscameroon/global-github-actions/pull/6", - "id": 766648721, - "issue_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/6", - "labels": [], - "locked": false, - "maintainer_can_modify": false, - "merge_commit_sha": null, - "mergeable": null, - "mergeable_state": "unknown", - "merged": false, - "merged_at": null, - "merged_by": null, - "milestone": null, - "node_id": "PR_kwDOF6zxSc4tsiGR", - "number": 6, - "patch_url": "https://github.com/osscameroon/global-github-actions/pull/6.patch", - "rebaseable": null, - "requested_reviewers": [], - "requested_teams": [], - "review_comment_url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/comments{/number}", - "review_comments": 0, - "review_comments_url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/6/comments", - "state": "open", - "statuses_url": "https://api.github.com/repos/osscameroon/global-github-actions/statuses/01965e029f277bdb0dbe33b129b4be6a8a7d0695", - "title": "test 1", - "updated_at": "2021-10-26T16:29:43Z", - "url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls/6", - "user": { - "avatar_url": "https://avatars.githubusercontent.com/u/5704817?v=4", - "events_url": "https://api.github.com/users/elhmn/events{/privacy}", - "followers_url": "https://api.github.com/users/elhmn/followers", - "following_url": "https://api.github.com/users/elhmn/following{/other_user}", - "gists_url": "https://api.github.com/users/elhmn/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/elhmn", - "id": 5704817, - "login": "elhmn", - "node_id": "MDQ6VXNlcjU3MDQ4MTc=", - "organizations_url": "https://api.github.com/users/elhmn/orgs", - "received_events_url": "https://api.github.com/users/elhmn/received_events", - "repos_url": "https://api.github.com/users/elhmn/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/elhmn/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/elhmn/subscriptions", - "type": "User", - "url": "https://api.github.com/users/elhmn" - } - }, - "repository": { - "allow_forking": true, - "archive_url": "https://api.github.com/repos/osscameroon/global-github-actions/{archive_format}{/ref}", - "archived": false, - "assignees_url": "https://api.github.com/repos/osscameroon/global-github-actions/assignees{/user}", - "blobs_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/osscameroon/global-github-actions/branches{/branch}", - "clone_url": "https://github.com/osscameroon/global-github-actions.git", - "collaborators_url": "https://api.github.com/repos/osscameroon/global-github-actions/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/osscameroon/global-github-actions/comments{/number}", - "commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/commits{/sha}", - "compare_url": "https://api.github.com/repos/osscameroon/global-github-actions/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/osscameroon/global-github-actions/contents/{+path}", - "contributors_url": "https://api.github.com/repos/osscameroon/global-github-actions/contributors", - "created_at": "2021-08-17T10:28:47Z", - "default_branch": "main", - "deployments_url": "https://api.github.com/repos/osscameroon/global-github-actions/deployments", - "description": "github actions that we run for the entire github organisation", - "disabled": false, - "downloads_url": "https://api.github.com/repos/osscameroon/global-github-actions/downloads", - "events_url": "https://api.github.com/repos/osscameroon/global-github-actions/events", - "fork": false, - "forks": 1, - "forks_count": 1, - "forks_url": "https://api.github.com/repos/osscameroon/global-github-actions/forks", - "full_name": "osscameroon/global-github-actions", - "git_commits_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/tags{/sha}", - "git_url": "git://github.com/osscameroon/global-github-actions.git", - "has_downloads": true, - "has_issues": true, - "has_pages": false, - "has_projects": true, - "has_wiki": true, - "homepage": null, - "hooks_url": "https://api.github.com/repos/osscameroon/global-github-actions/hooks", - "html_url": "https://github.com/osscameroon/global-github-actions", - "id": 397209929, - "is_template": false, - "issue_comment_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues/events{/number}", - "issues_url": "https://api.github.com/repos/osscameroon/global-github-actions/issues{/number}", - "keys_url": "https://api.github.com/repos/osscameroon/global-github-actions/keys{/key_id}", - "labels_url": "https://api.github.com/repos/osscameroon/global-github-actions/labels{/name}", - "language": "Shell", - "languages_url": "https://api.github.com/repos/osscameroon/global-github-actions/languages", - "license": { - "key": "gpl-3.0", - "name": "GNU General Public License v3.0", - "node_id": "MDc6TGljZW5zZTk=", - "spdx_id": "GPL-3.0", - "url": "https://api.github.com/licenses/gpl-3.0" - }, - "merges_url": "https://api.github.com/repos/osscameroon/global-github-actions/merges", - "milestones_url": "https://api.github.com/repos/osscameroon/global-github-actions/milestones{/number}", - "mirror_url": null, - "name": "global-github-actions", - "node_id": "MDEwOlJlcG9zaXRvcnkzOTcyMDk5Mjk=", - "notifications_url": "https://api.github.com/repos/osscameroon/global-github-actions/notifications{?since,all,participating}", - "open_issues": 4, - "open_issues_count": 4, - "owner": { - "avatar_url": "https://avatars.githubusercontent.com/u/73784866?v=4", - "events_url": "https://api.github.com/users/osscameroon/events{/privacy}", - "followers_url": "https://api.github.com/users/osscameroon/followers", - "following_url": "https://api.github.com/users/osscameroon/following{/other_user}", - "gists_url": "https://api.github.com/users/osscameroon/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/osscameroon", - "id": 73784866, - "login": "osscameroon", - "node_id": "MDEyOk9yZ2FuaXphdGlvbjczNzg0ODY2", - "organizations_url": "https://api.github.com/users/osscameroon/orgs", - "received_events_url": "https://api.github.com/users/osscameroon/received_events", - "repos_url": "https://api.github.com/users/osscameroon/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/osscameroon/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/osscameroon/subscriptions", - "type": "Organization", - "url": "https://api.github.com/users/osscameroon" - }, - "private": false, - "pulls_url": "https://api.github.com/repos/osscameroon/global-github-actions/pulls{/number}", - "pushed_at": "2021-10-26T16:24:37Z", - "releases_url": "https://api.github.com/repos/osscameroon/global-github-actions/releases{/id}", - "size": 29, - "ssh_url": "git@github.com:osscameroon/global-github-actions.git", - "stargazers_count": 0, - "stargazers_url": "https://api.github.com/repos/osscameroon/global-github-actions/stargazers", - "statuses_url": "https://api.github.com/repos/osscameroon/global-github-actions/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/osscameroon/global-github-actions/subscribers", - "subscription_url": "https://api.github.com/repos/osscameroon/global-github-actions/subscription", - "svn_url": "https://github.com/osscameroon/global-github-actions", - "tags_url": "https://api.github.com/repos/osscameroon/global-github-actions/tags", - "teams_url": "https://api.github.com/repos/osscameroon/global-github-actions/teams", - "topics": [], - "trees_url": "https://api.github.com/repos/osscameroon/global-github-actions/git/trees{/sha}", - "updated_at": "2021-10-26T16:22:39Z", - "url": "https://api.github.com/repos/osscameroon/global-github-actions", - "visibility": "public", - "watchers": 0, - "watchers_count": 0 - }, - "sender": { - "avatar_url": "https://avatars.githubusercontent.com/u/5704817?v=4", - "events_url": "https://api.github.com/users/elhmn/events{/privacy}", - "followers_url": "https://api.github.com/users/elhmn/followers", - "following_url": "https://api.github.com/users/elhmn/following{/other_user}", - "gists_url": "https://api.github.com/users/elhmn/gists{/gist_id}", - "gravatar_id": "", - "html_url": "https://github.com/elhmn", - "id": 5704817, - "login": "elhmn", - "node_id": "MDQ6VXNlcjU3MDQ4MTc=", - "organizations_url": "https://api.github.com/users/elhmn/orgs", - "received_events_url": "https://api.github.com/users/elhmn/received_events", - "repos_url": "https://api.github.com/users/elhmn/repos", - "site_admin": false, - "starred_url": "https://api.github.com/users/elhmn/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/elhmn/subscriptions", - "type": "User", - "url": "https://api.github.com/users/elhmn" - } -}