forked from Stonley890/Dreamvisitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
059fa88
commit b3e3553
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
schedule: | ||
- cron: "2 0 * * 1-5" | ||
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 }} |