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