chore: skip sync when dependabot push branch
This commit is contained in:
@@ -11,8 +11,12 @@ jobs:
|
|||||||
name: Create Release
|
name: Create Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
-
|
||||||
- uses: actions/create-release@v1
|
name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
-
|
||||||
|
name: Release
|
||||||
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: 'schedule'
|
name: 'Schedule'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -8,10 +8,14 @@ jobs:
|
|||||||
gitee:
|
gitee:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: ttionya/Repository-Sync-Hub@v1
|
-
|
||||||
|
name: Sync
|
||||||
|
uses: ttionya/Repository-Sync-Hub@v1
|
||||||
with:
|
with:
|
||||||
target_repository: 'https://gitee.com/ttionya/vaultwarden-backup.git'
|
target_repository: 'https://gitee.com/ttionya/vaultwarden-backup.git'
|
||||||
http_access_name: 'ttionya'
|
http_access_name: 'ttionya'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: 'sync'
|
name: 'Sync'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -7,11 +7,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
gitee:
|
gitee:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: ttionya/Repository-Sync-Hub@v1
|
-
|
||||||
|
name: Sync
|
||||||
|
uses: ttionya/Repository-Sync-Hub@v1
|
||||||
with:
|
with:
|
||||||
target_repository: 'https://gitee.com/ttionya/vaultwarden-backup.git'
|
target_repository: 'https://gitee.com/ttionya/vaultwarden-backup.git'
|
||||||
http_access_name: 'ttionya'
|
http_access_name: 'ttionya'
|
||||||
|
|||||||
Reference in New Issue
Block a user