Update sync_forks.yml

This commit is contained in:
Voxel 2025-03-15 12:09:26 -04:00 committed by GitHub
parent e4ca9d242f
commit 4671fbd415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@ name: Sync Forks
on: on:
schedule: schedule:
- cron: '0 */6 * * *' # Runs every 6 hours - cron: '0 */6 * * *' # Runs every 6 hours
workflow_dispatch: # Allows manual triggering workflow_dispatch:
jobs: jobs:
sync: sync:
@ -11,10 +11,10 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'
@ -29,6 +29,6 @@ jobs:
git config --global user.name "GitHub Actions" git config --global user.name "GitHub Actions"
- name: Run sync script - name: Run sync script
run: python sync_forks.py
env: env:
TOKEN: ${{ secrets.TOKEN }} TOKEN: ${{ secrets.TOKEN }}
run: python sync_forks.py