ci: Add GitHub token for fetching traffic statistics in workflow.

This commit is contained in:
AEmotionStudio
2026-01-01 23:21:30 -08:00
parent 8d305eef8e
commit bf1031ba76
+1
View File
@@ -18,6 +18,7 @@ jobs:
- name: Fetch Traffic Stats and Save JSON
uses: actions/github-script@v6
with:
github-token: ${{ secrets.TRAFFIC_TOKEN }}
script: |
try {
const { owner, repo } = context.repo;