chore: add sync.yml (#554)
* Create sync.yml * doc: update README.md. * doc: update template/contributors.ejs. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
ab0cc031ee
commit
449a8c608e
|
|
@ -0,0 +1,40 @@
|
|||
name: Upstream Sync
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *" # every day
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync_latest_from_upstream:
|
||||
name: Sync latest commits from upstream repo
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.repository.fork }}
|
||||
|
||||
steps:
|
||||
# Step 1: run a standard checkout action
|
||||
- name: Checkout target repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Step 2: run the sync action
|
||||
- name: Sync upstream changes
|
||||
id: sync
|
||||
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
|
||||
with:
|
||||
upstream_sync_repo: jaywcjlove/linux-command
|
||||
upstream_sync_branch: master
|
||||
target_sync_branch: master
|
||||
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
|
||||
|
||||
# Set test_mode true to run tests instead of the true action!!
|
||||
test_mode: false
|
||||
|
||||
- name: Sync check
|
||||
if: failure()
|
||||
run: |
|
||||
echo "[Error] 由于上游仓库的 workflow 文件变更,导致 GitHub 自动暂停了本次自动更新,你需要手动 Sync Fork 一次。"
|
||||
echo "[Error] Due to a change in the workflow file of the upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork."
|
||||
exit 1
|
||||
48
README.md
48
README.md
|
|
@ -438,14 +438,14 @@ https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命
|
|||
<a href="https://github.com/james-wangx" title="James Wang">
|
||||
<img src="https://avatars.githubusercontent.com/u/62491424?v=4" width="42;" alt="James Wang"/>
|
||||
</a>
|
||||
<a href="https://github.com/Qliangw" title="Qliangw">
|
||||
<img src="https://avatars.githubusercontent.com/u/22791711?v=4" width="42;" alt="Qliangw"/>
|
||||
<a href="https://github.com/alfchao" title="alfred">
|
||||
<img src="https://avatars.githubusercontent.com/u/49786895?v=4" width="42;" alt="alfred"/>
|
||||
</a>
|
||||
<a href="https://github.com/Evilrabbit520" title="Wang Jianing">
|
||||
<img src="https://avatars.githubusercontent.com/u/25611476?v=4" width="42;" alt="Wang Jianing"/>
|
||||
</a>
|
||||
<a href="https://github.com/alfchao" title="alfred">
|
||||
<img src="https://avatars.githubusercontent.com/u/49786895?v=4" width="42;" alt="alfred"/>
|
||||
<a href="https://github.com/Qliangw" title="Qliangw">
|
||||
<img src="https://avatars.githubusercontent.com/u/22791711?v=4" width="42;" alt="Qliangw"/>
|
||||
</a>
|
||||
<a href="https://github.com/maboloshi" title="沙漠之子">
|
||||
<img src="https://avatars.githubusercontent.com/u/7850715?v=4" width="42;" alt="沙漠之子"/>
|
||||
|
|
@ -459,32 +459,32 @@ https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命
|
|||
<a href="https://github.com/Wvvatt" title="wVVaTT">
|
||||
<img src="https://avatars.githubusercontent.com/u/38394031?v=4" width="42;" alt="wVVaTT"/>
|
||||
</a>
|
||||
<a href="https://github.com/hellof20" title="Pan, Wen-Ming">
|
||||
<img src="https://avatars.githubusercontent.com/u/8756642?v=4" width="42;" alt="Pan, Wen-Ming"/>
|
||||
<a href="https://github.com/BingCoke" title="BingCoke">
|
||||
<img src="https://avatars.githubusercontent.com/u/81607010?v=4" width="42;" alt="BingCoke"/>
|
||||
</a>
|
||||
<a href="https://github.com/einverne" title="Ein Verne">
|
||||
<img src="https://avatars.githubusercontent.com/u/1962738?v=4" width="42;" alt="Ein Verne"/>
|
||||
</a>
|
||||
<a href="https://github.com/BingCoke" title="BingCoke">
|
||||
<img src="https://avatars.githubusercontent.com/u/81607010?v=4" width="42;" alt="BingCoke"/>
|
||||
<a href="https://github.com/hellof20" title="Pan, Wen-Ming">
|
||||
<img src="https://avatars.githubusercontent.com/u/8756642?v=4" width="42;" alt="Pan, Wen-Ming"/>
|
||||
</a>
|
||||
<a href="https://github.com/RichardLCD" title="RichardLCD">
|
||||
<img src="https://avatars.githubusercontent.com/u/41584321?v=4" width="42;" alt="RichardLCD"/>
|
||||
</a>
|
||||
<a href="https://github.com/XingwenZhang" title="Xingwen Zhang">
|
||||
<img src="https://avatars.githubusercontent.com/u/21063553?v=4" width="42;" alt="Xingwen Zhang"/>
|
||||
</a>
|
||||
<a href="https://github.com/Xrtero" title="Xrtero">
|
||||
<img src="https://avatars.githubusercontent.com/u/55886907?v=4" width="42;" alt="Xrtero"/>
|
||||
</a>
|
||||
<a href="https://github.com/YanhiWang" title="YH">
|
||||
<img src="https://avatars.githubusercontent.com/u/114390595?v=4" width="42;" alt="YH"/>
|
||||
<a href="https://github.com/gggwvg" title="gggwvg">
|
||||
<img src="https://avatars.githubusercontent.com/u/6913118?v=4" width="42;" alt="gggwvg"/>
|
||||
</a>
|
||||
<a href="https://github.com/Dazhuangw" title="Dazhuangw">
|
||||
<img src="https://avatars.githubusercontent.com/u/74780009?v=4" width="42;" alt="Dazhuangw"/>
|
||||
</a>
|
||||
<a href="https://github.com/shhch" title="shc">
|
||||
<img src="https://avatars.githubusercontent.com/u/46923522?v=4" width="42;" alt="shc"/>
|
||||
<a href="https://github.com/YanhiWang" title="YH">
|
||||
<img src="https://avatars.githubusercontent.com/u/114390595?v=4" width="42;" alt="YH"/>
|
||||
</a>
|
||||
<a href="https://github.com/Xrtero" title="Xrtero">
|
||||
<img src="https://avatars.githubusercontent.com/u/55886907?v=4" width="42;" alt="Xrtero"/>
|
||||
</a>
|
||||
<a href="https://github.com/XingwenZhang" title="Xingwen Zhang">
|
||||
<img src="https://avatars.githubusercontent.com/u/21063553?v=4" width="42;" alt="Xingwen Zhang"/>
|
||||
</a>
|
||||
<a href="https://github.com/sfwwslm" title="sfwwslm">
|
||||
<img src="https://avatars.githubusercontent.com/u/77674552?v=4" width="42;" alt="sfwwslm"/>
|
||||
|
|
@ -498,6 +498,9 @@ https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命
|
|||
<a href="https://github.com/z-anshun" title="noodles2hg">
|
||||
<img src="https://avatars.githubusercontent.com/u/57032282?v=4" width="42;" alt="noodles2hg"/>
|
||||
</a>
|
||||
<a href="https://github.com/shhch" title="shc">
|
||||
<img src="https://avatars.githubusercontent.com/u/46923522?v=4" width="42;" alt="shc"/>
|
||||
</a>
|
||||
<a href="https://github.com/myliwenbo" title="myliwenbo">
|
||||
<img src="https://avatars.githubusercontent.com/u/29202248?v=4" width="42;" alt="myliwenbo"/>
|
||||
</a>
|
||||
|
|
@ -540,9 +543,6 @@ https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命
|
|||
<a href="https://github.com/gaohongy" title="ghy">
|
||||
<img src="https://avatars.githubusercontent.com/u/56125657?v=4" width="42;" alt="ghy"/>
|
||||
</a>
|
||||
<a href="https://github.com/gggwvg" title="gggwvg">
|
||||
<img src="https://avatars.githubusercontent.com/u/6913118?v=4" width="42;" alt="gggwvg"/>
|
||||
</a>
|
||||
<a href="https://github.com/mygesty" title="gesty">
|
||||
<img src="https://avatars.githubusercontent.com/u/30500317?v=4" width="42;" alt="gesty"/>
|
||||
</a>
|
||||
|
|
@ -564,6 +564,9 @@ https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命
|
|||
<a href="https://github.com/daydaygo" title="dayday">
|
||||
<img src="https://avatars.githubusercontent.com/u/3986303?v=4" width="42;" alt="dayday"/>
|
||||
</a>
|
||||
<a href="https://github.com/RocherKong" title="Rocher">
|
||||
<img src="https://avatars.githubusercontent.com/u/10215178?v=4" width="42;" alt="Rocher"/>
|
||||
</a>
|
||||
<a href="https://github.com/HDsky" title="黑&蛋">
|
||||
<img src="https://avatars.githubusercontent.com/u/17249963?v=4" width="42;" alt="黑&蛋"/>
|
||||
</a>
|
||||
|
|
@ -651,9 +654,6 @@ https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命
|
|||
<a href="https://github.com/snovey" title="snovey">
|
||||
<img src="https://avatars.githubusercontent.com/u/15171147?v=4" width="42;" alt="snovey"/>
|
||||
</a>
|
||||
<a href="https://github.com/RocherKong" title="Rocher">
|
||||
<img src="https://avatars.githubusercontent.com/u/10215178?v=4" width="42;" alt="Rocher"/>
|
||||
</a>
|
||||
<a href="https://github.com/robigus" title="Robigus">
|
||||
<img src="https://avatars.githubusercontent.com/u/8164967?v=4" width="42;" alt="Robigus"/>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -75,14 +75,14 @@
|
|||
<a href="https://github.com/james-wangx" title="James Wang">
|
||||
<img src="https://avatars.githubusercontent.com/u/62491424?v=4" width="42;" alt="James Wang"/>
|
||||
</a>
|
||||
<a href="https://github.com/Qliangw" title="Qliangw">
|
||||
<img src="https://avatars.githubusercontent.com/u/22791711?v=4" width="42;" alt="Qliangw"/>
|
||||
<a href="https://github.com/alfchao" title="alfred">
|
||||
<img src="https://avatars.githubusercontent.com/u/49786895?v=4" width="42;" alt="alfred"/>
|
||||
</a>
|
||||
<a href="https://github.com/Evilrabbit520" title="Wang Jianing">
|
||||
<img src="https://avatars.githubusercontent.com/u/25611476?v=4" width="42;" alt="Wang Jianing"/>
|
||||
</a>
|
||||
<a href="https://github.com/alfchao" title="alfred">
|
||||
<img src="https://avatars.githubusercontent.com/u/49786895?v=4" width="42;" alt="alfred"/>
|
||||
<a href="https://github.com/Qliangw" title="Qliangw">
|
||||
<img src="https://avatars.githubusercontent.com/u/22791711?v=4" width="42;" alt="Qliangw"/>
|
||||
</a>
|
||||
<a href="https://github.com/maboloshi" title="沙漠之子">
|
||||
<img src="https://avatars.githubusercontent.com/u/7850715?v=4" width="42;" alt="沙漠之子"/>
|
||||
|
|
@ -96,32 +96,32 @@
|
|||
<a href="https://github.com/Wvvatt" title="wVVaTT">
|
||||
<img src="https://avatars.githubusercontent.com/u/38394031?v=4" width="42;" alt="wVVaTT"/>
|
||||
</a>
|
||||
<a href="https://github.com/hellof20" title="Pan, Wen-Ming">
|
||||
<img src="https://avatars.githubusercontent.com/u/8756642?v=4" width="42;" alt="Pan, Wen-Ming"/>
|
||||
<a href="https://github.com/BingCoke" title="BingCoke">
|
||||
<img src="https://avatars.githubusercontent.com/u/81607010?v=4" width="42;" alt="BingCoke"/>
|
||||
</a>
|
||||
<a href="https://github.com/einverne" title="Ein Verne">
|
||||
<img src="https://avatars.githubusercontent.com/u/1962738?v=4" width="42;" alt="Ein Verne"/>
|
||||
</a>
|
||||
<a href="https://github.com/BingCoke" title="BingCoke">
|
||||
<img src="https://avatars.githubusercontent.com/u/81607010?v=4" width="42;" alt="BingCoke"/>
|
||||
<a href="https://github.com/hellof20" title="Pan, Wen-Ming">
|
||||
<img src="https://avatars.githubusercontent.com/u/8756642?v=4" width="42;" alt="Pan, Wen-Ming"/>
|
||||
</a>
|
||||
<a href="https://github.com/RichardLCD" title="RichardLCD">
|
||||
<img src="https://avatars.githubusercontent.com/u/41584321?v=4" width="42;" alt="RichardLCD"/>
|
||||
</a>
|
||||
<a href="https://github.com/XingwenZhang" title="Xingwen Zhang">
|
||||
<img src="https://avatars.githubusercontent.com/u/21063553?v=4" width="42;" alt="Xingwen Zhang"/>
|
||||
</a>
|
||||
<a href="https://github.com/Xrtero" title="Xrtero">
|
||||
<img src="https://avatars.githubusercontent.com/u/55886907?v=4" width="42;" alt="Xrtero"/>
|
||||
</a>
|
||||
<a href="https://github.com/YanhiWang" title="YH">
|
||||
<img src="https://avatars.githubusercontent.com/u/114390595?v=4" width="42;" alt="YH"/>
|
||||
<a href="https://github.com/gggwvg" title="gggwvg">
|
||||
<img src="https://avatars.githubusercontent.com/u/6913118?v=4" width="42;" alt="gggwvg"/>
|
||||
</a>
|
||||
<a href="https://github.com/Dazhuangw" title="Dazhuangw">
|
||||
<img src="https://avatars.githubusercontent.com/u/74780009?v=4" width="42;" alt="Dazhuangw"/>
|
||||
</a>
|
||||
<a href="https://github.com/shhch" title="shc">
|
||||
<img src="https://avatars.githubusercontent.com/u/46923522?v=4" width="42;" alt="shc"/>
|
||||
<a href="https://github.com/YanhiWang" title="YH">
|
||||
<img src="https://avatars.githubusercontent.com/u/114390595?v=4" width="42;" alt="YH"/>
|
||||
</a>
|
||||
<a href="https://github.com/Xrtero" title="Xrtero">
|
||||
<img src="https://avatars.githubusercontent.com/u/55886907?v=4" width="42;" alt="Xrtero"/>
|
||||
</a>
|
||||
<a href="https://github.com/XingwenZhang" title="Xingwen Zhang">
|
||||
<img src="https://avatars.githubusercontent.com/u/21063553?v=4" width="42;" alt="Xingwen Zhang"/>
|
||||
</a>
|
||||
<a href="https://github.com/sfwwslm" title="sfwwslm">
|
||||
<img src="https://avatars.githubusercontent.com/u/77674552?v=4" width="42;" alt="sfwwslm"/>
|
||||
|
|
@ -135,6 +135,9 @@
|
|||
<a href="https://github.com/z-anshun" title="noodles2hg">
|
||||
<img src="https://avatars.githubusercontent.com/u/57032282?v=4" width="42;" alt="noodles2hg"/>
|
||||
</a>
|
||||
<a href="https://github.com/shhch" title="shc">
|
||||
<img src="https://avatars.githubusercontent.com/u/46923522?v=4" width="42;" alt="shc"/>
|
||||
</a>
|
||||
<a href="https://github.com/myliwenbo" title="myliwenbo">
|
||||
<img src="https://avatars.githubusercontent.com/u/29202248?v=4" width="42;" alt="myliwenbo"/>
|
||||
</a>
|
||||
|
|
@ -177,9 +180,6 @@
|
|||
<a href="https://github.com/gaohongy" title="ghy">
|
||||
<img src="https://avatars.githubusercontent.com/u/56125657?v=4" width="42;" alt="ghy"/>
|
||||
</a>
|
||||
<a href="https://github.com/gggwvg" title="gggwvg">
|
||||
<img src="https://avatars.githubusercontent.com/u/6913118?v=4" width="42;" alt="gggwvg"/>
|
||||
</a>
|
||||
<a href="https://github.com/mygesty" title="gesty">
|
||||
<img src="https://avatars.githubusercontent.com/u/30500317?v=4" width="42;" alt="gesty"/>
|
||||
</a>
|
||||
|
|
@ -201,6 +201,9 @@
|
|||
<a href="https://github.com/daydaygo" title="dayday">
|
||||
<img src="https://avatars.githubusercontent.com/u/3986303?v=4" width="42;" alt="dayday"/>
|
||||
</a>
|
||||
<a href="https://github.com/RocherKong" title="Rocher">
|
||||
<img src="https://avatars.githubusercontent.com/u/10215178?v=4" width="42;" alt="Rocher"/>
|
||||
</a>
|
||||
<a href="https://github.com/HDsky" title="黑&蛋">
|
||||
<img src="https://avatars.githubusercontent.com/u/17249963?v=4" width="42;" alt="黑&蛋"/>
|
||||
</a>
|
||||
|
|
@ -288,9 +291,6 @@
|
|||
<a href="https://github.com/snovey" title="snovey">
|
||||
<img src="https://avatars.githubusercontent.com/u/15171147?v=4" width="42;" alt="snovey"/>
|
||||
</a>
|
||||
<a href="https://github.com/RocherKong" title="Rocher">
|
||||
<img src="https://avatars.githubusercontent.com/u/10215178?v=4" width="42;" alt="Rocher"/>
|
||||
</a>
|
||||
<a href="https://github.com/robigus" title="Robigus">
|
||||
<img src="https://avatars.githubusercontent.com/u/8164967?v=4" width="42;" alt="Robigus"/>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue