{"id":29247203,"url":"https://github.com/nofusscomputing/git-events","last_synced_at":"2026-05-08T10:34:03.792Z","repository":{"id":302300970,"uuid":"1011941885","full_name":"nofusscomputing/git-events","owner":"nofusscomputing","description":"Ansible Collection for Git Events","archived":false,"fork":false,"pushed_at":"2025-07-12T12:22:31.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"development","last_synced_at":"2025-07-12T12:38:14.794Z","etag":null,"topics":["ansible","ansible-collection","gitea","github","problem-matcher"],"latest_commit_sha":null,"homepage":"https://nofusscomputing.com/git/ansible-collections/git-events","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nofusscomputing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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}},"created_at":"2025-07-01T15:05:04.000Z","updated_at":"2025-07-07T22:32:31.000Z","dependencies_parsed_at":"2025-07-01T16:44:16.379Z","dependency_job_id":"c5025643-ff56-4fa0-96a9-3bc70b7cd59a","html_url":"https://github.com/nofusscomputing/git-events","commit_stats":null,"previous_names":["nofusscomputing/git-events"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nofusscomputing/git-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofusscomputing%2Fgit-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofusscomputing%2Fgit-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofusscomputing%2Fgit-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofusscomputing%2Fgit-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nofusscomputing","download_url":"https://codeload.github.com/nofusscomputing/git-events/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nofusscomputing%2Fgit-events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32776857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ansible","ansible-collection","gitea","github","problem-matcher"],"created_at":"2025-07-04T00:01:15.834Z","updated_at":"2026-05-08T10:34:03.784Z","avatar_url":"https://github.com/nofusscomputing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# No Fuss Computings Git[ea/hub] Event Processing\n\nDocumentation for the collection.\n\n\n## TL;DR\n\n| Name | required | Description |\n|:---:|:---:|:---|\n| GIT_API_TOKEN | :white_check_mark: | API token to access Git[ea/hub] to post PR Review. |\n| GIT_API_URL | :white_check_mark: | API URL to access Git[ea/hub]. To create random one `echo $(head -c 50 /dev/urandom | xxd -p | head -c 50)` |\n| GIT_INTERNAL_API_URL | :x: | An internal URL to use in place of the public API URL. i.e. DMZ url. |\n| GIT_EVENT_RULEBOOK_TOKEN | :white_check_mark: | The token to set for the inbound connection to the container. |\n| GIT_EVENT_RULEBOOK_PORT | :x: | The port to listen for inbound webhooks. Defaults to 5000 |\n| ENABLE_DEBUG_LOGGING | :x: | Turn on playbook debug logging. Defaults to `false` :warning: Doing this will output you auth tokens to the log. |\n\n\n### Steps\n\n1. deploy somewhere that git[ea/hub] has access to the container\n1. ensure vars above are set within the container\n1. **Gor Gitea** Go to `Site ADministration -\u003e Integrations-\u003e Webhooks`\n    1. Add a system webhook\n    1. set the http url to the container ip/dns name. ensure port is specifed. suffic `:\u003cport number\u003e`\n    1. select `Trigger On -\u003e Workflow Jobs`\n    1. set `Authorization Header` to `Bearer \u003cactual value of GIT_EVENT_RULEBOOK_TOKEN\u003e`\n    1. click `Update Webhook` to save\n1. you are now GTG and all jobs will get posted to the container for processing.\n\n\n### Setup Parsing of matchers\n\n1. Before any parsing can be done the following must be output with the id of the pull request to enable the problem matcher parsing.\n\n    ``` bash\n\n    echo \"NFC_PROBLEM_MATCHER=${GITHUB_REF_NAME}\";\n\n    ```\n\n\n1. Ansible Lint\n\n    1. before pylint runs, ensure the following commands are executed in your workflow.\n\n    ``` bash\n\n    echo \"NFC_PROBLEM_MATCHER_TYPE=pylint-json\";\n\n    ```\n\n    1. the output format for pylint is json. i.e. `ansible-lint -f json .`\n\n1. Parsing normal GitHub Problem matchers\n\n    1. Before the job runs, give the matcher a name, no spaces, only letters and can have `-` and `_`\n\n    ``` bash\n\n    echo \"NFC_PROBLEM_MATCHER_TYPE=My-Job-Name\";\n\n    ```\n\n    1. now run the job that outputs in standrd Github style problem matchers.\n\n1. Now the user will have a PR reviews done with the contents of the problem matcher(s) as review comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnofusscomputing%2Fgit-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnofusscomputing%2Fgit-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnofusscomputing%2Fgit-events/lists"}