chore: skip sync when dependabot push branch

This commit is contained in:
ttionya
2022-08-09 20:34:03 +08:00
parent e3a57939e0
commit 84722674a5
3 changed files with 21 additions and 8 deletions
+6 -2
View File
@@ -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:
+7 -3
View File
@@ -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'
+8 -3
View File
@@ -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'