{"id":17131224,"url":"https://github.com/phramz/webhug-action","last_synced_at":"2025-03-24T05:15:14.565Z","repository":{"id":65161296,"uuid":"236383039","full_name":"phramz/webhug-action","owner":"phramz","description":"Webhug Action ","archived":false,"fork":false,"pushed_at":"2020-01-26T22:35:44.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-03-15T11:21:48.493Z","etag":null,"topics":["continuous-integration","deployment","webhook"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/phramz.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}},"created_at":"2020-01-26T22:07:26.000Z","updated_at":"2020-01-26T22:35:35.000Z","dependencies_parsed_at":"2023-01-04T12:38:49.693Z","dependency_job_id":null,"html_url":"https://github.com/phramz/webhug-action","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"1420c7b01d29f0aa96a3b6ddfef3a78c622d0603"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramz%2Fwebhug-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramz%2Fwebhug-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramz%2Fwebhug-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramz%2Fwebhug-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phramz","download_url":"https://codeload.github.com/phramz/webhug-action/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212304,"owners_count":20578443,"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":["continuous-integration","deployment","webhook"],"created_at":"2024-10-14T19:14:18.312Z","updated_at":"2025-03-24T05:15:14.540Z","avatar_url":"https://github.com/phramz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Webhug Action 🤗\n=================\n\nAction to trigger Webhugs (https://github.com/phramz/webhug).\n\nAt the moment only github-style authentication is supported. Make sure your Webhug configs `security.type` is set to\n`github` and `security.secret` matches the one you use in the action (see below).\n\n## Inputs\n\n### `endpoint` (**Required**)\n\nURL to the Webhug endpoint. Example `'http://example.com/webhug/'`.\n\n### `secret` (**Required**)\n\nSecret to sign the request using github webhook authentication scheme. Example `'d5dcf6cae30e27d673eed9eefeaef87c90f6d5ed58eb08598f440ab10fb52faf'`.\n\n### `ctype` (**Optional**)\n\nThe `content-type` header for the request. Example `'text/plain'`. Default: `'application/json'`\n\n### `payload` (**Optional**)\n\nThe payload which will be posted to the endpoint. Example `'{ \"some\": [\"random\", \"json\"] }'`. Default: `''`\n\n## Example usage\n\n```yaml\nuses: phramz/webhug-action@master\nwith:\n  endpoint: 'http://example.com/webhug/'\n  secret: 'd5dcf6cae30e27d673eed9eefeaef87c90f6d5ed58eb08598f440ab10fb52faf'\n  ctype: 'text/plain'\n  payload: 'let there be hugs 🤗'\n```\n\nMake sure to keep the secret actually a secret and store it whitin your repos Github secret:\nhttps://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets\n\n```yaml\nuses: phramz/webhug-action@master\nwith:\n  endpoint: 'http://example.com/webhug/'\n  secret: '${{ secrets.WEBHUG_SECRET }}'\n```\n\n## License\n``` \nMIT License\n\nCopyright (c) 2020 Maximilian Reichel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphramz%2Fwebhug-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphramz%2Fwebhug-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphramz%2Fwebhug-action/lists"}