Skip to content

Commit c39e97e

Browse files
authored
Prepare repository for initial release (#2)
1 parent 8ddb303 commit c39e97e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# GitHub Webhook Security Guide
22

3+
[![Test](https://github.com/asllanmaciel/github-webhook-security-guide/actions/workflows/test.yml/badge.svg)](https://github.com/asllanmaciel/github-webhook-security-guide/actions/workflows/test.yml)
4+
[![Release](https://img.shields.io/github/v/release/asllanmaciel/github-webhook-security-guide?display_name=tag&sort=semver)](https://github.com/asllanmaciel/github-webhook-security-guide/releases)
5+
[![License: MIT](https://img.shields.io/badge/license-MIT-0f766e.svg)](LICENSE)
6+
37
Guia prático para receber webhooks do GitHub sem confiar cegamente no payload recebido.
48

59
Os exemplos mostram como validar `X-Hub-Signature-256` em PHP e Node.js usando comparação em tempo constante. O material é independente de framework e não contém código de nenhum produto comercial.
@@ -53,6 +57,11 @@ A assinatura comprova que o payload foi assinado com o secret compartilhado; ela
5357

5458
Consulte a [documentação oficial sobre validação de webhooks](https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries).
5559

60+
## Segurança e contribuição
61+
62+
- Envie relatos sensíveis conforme a [política de segurança](.github/SECURITY.md); nunca abra secrets ou payloads reais em uma issue.
63+
- Para propor testes, exemplos ou melhorias, leia o [guia de contribuição](CONTRIBUTING.md) e o [código de conduta](CODE_OF_CONDUCT.md).
64+
5665
## Licença
5766

5867
[MIT](LICENSE).

0 commit comments

Comments
 (0)