diff --git a/.github/release-drafter-hcaptcha.yml b/.github/release-drafter-hcaptcha.yml
new file mode 100644
index 00000000..ac53ef19
--- /dev/null
+++ b/.github/release-drafter-hcaptcha.yml
@@ -0,0 +1,50 @@
+name-template: 'HCaptcha - v$RESOLVED_VERSION'
+tag-template: 'hcaptcha/v$RESOLVED_VERSION'
+tag-prefix: hcaptcha/v
+include-paths:
+ - hcaptcha
+categories:
+ - title: 'โ Breaking Changes'
+ labels:
+ - 'โ BreakingChange'
+ - title: '๐ New'
+ labels:
+ - 'โ๏ธ Feature'
+ - title: '๐งน Updates'
+ labels:
+ - '๐งน Updates'
+ - '๐ค Dependencies'
+ - title: '๐ Fixes'
+ labels:
+ - 'โข๏ธ Bug'
+ - title: '๐ Documentation'
+ labels:
+ - '๐ Documentation'
+change-template: '- $TITLE (#$NUMBER)'
+change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
+exclude-contributors:
+ - dependabot
+ - dependabot[bot]
+version-resolver:
+ major:
+ labels:
+ - 'major'
+ - 'โ BreakingChange'
+ minor:
+ labels:
+ - 'minor'
+ - 'โ๏ธ Feature'
+ patch:
+ labels:
+ - 'patch'
+ - '๐ Documentation'
+ - 'โข๏ธ Bug'
+ - '๐ค Dependencies'
+ - '๐งน Updates'
+ default: patch
+template: |
+ $CHANGES
+
+ **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...hcaptcha/v$RESOLVED_VERSION
+
+ Thank you $CONTRIBUTORS for making this update possible.
diff --git a/.github/workflows/release-drafter-hcaptcha.yml b/.github/workflows/release-drafter-hcaptcha.yml
new file mode 100644
index 00000000..3c52f622
--- /dev/null
+++ b/.github/workflows/release-drafter-hcaptcha.yml
@@ -0,0 +1,19 @@
+name: Release Drafter HCaptcha
+on:
+ push:
+ # branches to consider in the event; optional, defaults to all
+ branches:
+ - master
+ - main
+ paths:
+ - 'hcaptcha/**'
+jobs:
+ draft_release_jwt:
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ steps:
+ - uses: release-drafter/release-drafter@v6
+ with:
+ config-name: release-drafter-hcaptcha.yml
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/test-hcaptcha.yml b/.github/workflows/test-hcaptcha.yml
index 070fa367..a5ee5acd 100644
--- a/.github/workflows/test-hcaptcha.yml
+++ b/.github/workflows/test-hcaptcha.yml
@@ -18,6 +18,7 @@ jobs:
matrix:
go-version:
- 1.21.x
+ - 1.22.x
steps:
- name: Fetch Repository
uses: actions/checkout@v4
diff --git a/README.md b/README.md
index 746b8f82..96086331 100644
--- a/README.md
+++ b/README.md
@@ -25,8 +25,9 @@ Repository for third party middlewares with dependencies.
* [Fibersentry](./fibersentry/README.md)
* [Fiberzap](./fiberzap/README.md)
* [Fiberzerolog](./fiberzerolog/README.md)
+* [HCaptcha](./hcaptcha/README.md)
* [JWT](./jwt/README.md)
-* [Loadshed](./loadshed/README.md)
+* [Loadshed](./loadshed/README.md)
* [NewRelic](./fibernewrelic/README.md)
* [Open Policy Agent](./opafiber/README.md)
* [Otelfiber (OpenTelemetry)](./otelfiber/README.md)
@@ -34,4 +35,3 @@ Repository for third party middlewares with dependencies.
* [Socket.io](./socketio/README.md)
* [Swagger](./swagger/README.md)
* [Websocket](./websocket/README.md)
-* [HCaptcha](./hcaptcha/README.md)