Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
ci(release): author GitHub Releases as the maintainer via RELEASE_PAT (fallback to GITHUB_TOKEN)
Yudhi Armyndharis3b5b37aceb9b
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 9586cdcdb..7f162b952 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -66,13 +66,16 @@ jobs:- name: Create GitHub Releaseuses: softprops/action-gh-release@v3with:+ # Author the release as a real user (the PAT owner) instead of github-actions[bot].+ # Add a repo secret RELEASE_PAT — a fine-grained PAT scoped to this repo with+ # "Contents: read and write". Falls back to GITHUB_TOKEN (bot-authored) when the secret+ # is absent, so the job never breaks before the token is configured.+ token: ${{ secrets.RELEASE_PAT || secrets.GITHUB_TOKEN }}tag_name: ${{ github.ref_name }}name: v${{ steps.version.outputs.VERSION }}body: ${{ steps.changelog.outputs.NOTES }}draft: falseprerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }}- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}# ──── Docker Image with Version Tag ───────────────────────────────docker: