Skip some CI jobs for dependabot

This commit is contained in:
Ben Johnson
2022-01-31 12:41:07 -07:00
parent 5d811f2e39
commit a2cf2e260b
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ jobs:
s3-integration-test:
name: Run S3 Integration Tests
runs-on: ubuntu-18.04
if: github.actor != 'dependabot'
steps:
- uses: actions/checkout@v2
@@ -30,6 +31,7 @@ jobs:
gcp-integration-test:
name: Run GCP Integration Tests
runs-on: ubuntu-18.04
if: github.actor != 'dependabot'
steps:
- uses: actions/checkout@v2
@@ -57,6 +59,7 @@ jobs:
abs-integration-test:
name: Run Azure Blob Store Integration Tests
runs-on: ubuntu-18.04
if: github.actor != 'dependabot'
steps:
- uses: actions/checkout@v2
@@ -79,6 +82,7 @@ jobs:
sftp-integration-test:
name: Run SFTP Integration Tests
runs-on: ubuntu-18.04
if: github.actor != 'dependabot'
steps:
- uses: actions/checkout@v2

View File

@@ -126,7 +126,7 @@ jobs:
asset_content_type: application/octet-stream
- name: Dispatch test runner
if: matrix.deploy_test_runner
if: matrix.deploy_test_runner && github.actor != 'dependabot'
run: sleep 60 && gh workflow run deploy.yml -R benbjohnson/litestream-test-runner -f run_id=${{ github.run_id }} -f litestream_version=${{ github.sha }}
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}