# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Pull upstream commits on: schedule: - cron: "0 0 * * *" jobs: sync_upstream: runs-on: ubuntu-latest steps: - name: Checkout target repo uses: https://code.forgejo.org/actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Pull upstream repo uses: https://github.com/aormsby/Fork-Sync-With-Upstream-action@1090e365224fc834e7e1de521c417ded2d6fcb53 # v3.4.1 with: target_sync_branch: master target_repo_token: ${{ secrets.GITHUB_TOKEN }} upstream_sync_branch: master upstream_sync_repo: void-linux/void-packages upstream_repo_access_token: ${{ secrets.API_TOKEN_GITHUB }} - name: Print status run: echo ${{ steps.sync.outputs.has_new_commits }}