Update sync.yml

This commit is contained in:
guihblac 2024-04-04 12:14:01 +01:00 committed by GitHub
parent af2e6b793d
commit 6c66806aa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,26 +1,26 @@
name: Sync fork
permissions:
contents: write
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
sync:
name: Sync fork
runs-on: ubuntu-latest
if: ${{ github.event.repository.fork }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Sync fork
run: gh repo sync ${{ github.repository }}
env:
GH_TOKEN: ${{ github.token }}
- uses: gautamkrishnar/keepalive-workflow@v1