You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
473 B
26 lines
473 B
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
|
|
|