Skip to content

Commit

Permalink
add sync script
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Feb 22, 2022
1 parent 13ecd1e commit 1b3b17a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: sync

on:
push:
branches:
- 'main'
schedule:
- cron: '0 10 * * 1'

jobs:
git-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://chromium.googlesource.com/chromium/src/third_party/zlib"
source_branch: "main"
destination_branch: "zlib"
sync_tags: true
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# chromium_zlib
zlib from chromium

Please check out for 'zlib' branch

0 comments on commit 1b3b17a

Please sign in to comment.