Skip to content

.github/workflows/sync.yml #106

.github/workflows/sync.yml

.github/workflows/sync.yml #106

Workflow file for this run

on:
schedule:
- cron: "* * * * *"
jobs:
sync:
runs-on: ubuntu-18.04
steps:
- name: Sync Upstream
# You may pin to the exact commit or the version.
# uses: zhangnew/sync-upstream@65060a2fa0bbbbf7ef07add408d1ed3dae9e53f8
uses: zhangnew/sync-upstream@v1
with:
# User name - required for git commits
username: Stonley890
# User email - required for git commits
useremail: 79172597+Stonley890@users.noreply.github.com
# Upstream repository owner/name. For example, zhangnew/sync-upstream
upstream: Stonley890/Dreamvisitor
# Upstream branch to merge from. For example, master
upstream-branch: master
# Branch to merge to. For example, master
branch: master
# Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
token: ${{ github.token }}