chore: remove webhook config, keep schedule + manual trigger only

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
KenanZhuandClaude committed 2026-06-23 10:30:28 +08:00
1 parent 15509e01ac
commit 41caba06c0
3 files changed
+1 -21

No files matched your search

-2
View File
@@ -4,8 +4,6 @@ on:
schedule: schedule:
# Daily at 08:00 UTC — check for new Gitea releases # Daily at 08:00 UTC — check for new Gitea releases
- cron: '0 8 * * *' - cron: '0 8 * * *'
repository_dispatch:
types: [gitea-release]
workflow_dispatch: workflow_dispatch:
inputs: inputs:
version: version:
+1 -19
View File
@@ -87,25 +87,7 @@ All templates use Gitea's official `mail.*` translation namespace. Keys are stab
## Automated Tracking ## Automated Tracking
A [workflow](.github/workflows/gitea-tracker.yml) runs daily (and on-demand) to detect new Gitea releases. When a new version is found, it automatically creates a PR updating the matrix and badges with a **⏳ Pending Verification** status. A [workflow](.github/workflows/gitea-tracker.yml) runs daily (UTC 08:00) to detect new Gitea releases. When a new version is found, it automatically creates a PR updating the matrix and badges with a **⏳ Pending Verification** status. Manual trigger is also available via `workflow_dispatch`.
### Webhook Setup (optional)
To trigger the tracker immediately when Gitea publishes a release, configure a webhook on your Gitea instance:
1. Go to **Site Administration → System Webhooks**
2. Add a webhook with the type **Send Everything**
3. Set URL to:
```
https://api.github.com/repos/<YOUR_USER>/gitea-mail-templates/dispatches/gitea-release
```
4. Set **Authorization** header with a [GitHub PAT](https://github.com/settings/tokens) that has `repo` scope:
```
Authorization: Bearer ghp_xxxxxxxxxxxx
```
5. Content type: `application/json`
> The tracker also runs daily via cron (`0 8 * * *` UTC), so manual webhook setup is optional.
## Reporting Issues ## Reporting Issues
File renamed without changes.