workflows/sponsors-maintainers-man-completions: only run on branches

This prevents running the jobs on tags. It can be dangerous to
force-push a tag, even though previous workflow runs actually failed.

Example of previous failure:
https://github.com/Homebrew/brew/actions/runs/4657211778/jobs/8241583576

Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
This commit is contained in:
Ruoyu Zhong 2023-04-15 08:17:45 +08:00
parent 4fe3436682
commit b6eed8cef0
No known key found for this signature in database
GPG Key ID: DCAF462CAB59907D

View File

@ -2,6 +2,8 @@ name: Update sponsors, maintainers, manpage and completions
on:
push:
branches:
- "**"
paths:
- .github/workflows/sponsors-maintainers-man-completions.yml
- README.md