# 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - 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 }}