fix: restrict workflows to upstream repo (#6531)

This commit is contained in:
鸦羽
2026-03-17 23:35:16 +08:00
committed by GitHub
parent 51c8d22d05
commit c22e1f6a4d
7 changed files with 10 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ jobs:
pytest --cov=astrbot -v -o log_cli=true -o log_level=DEBUG
- name: Upload results to Codecov
if: github.repository == 'AstrBotDevs/AstrBot'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}