From a2cf2e260b5addad3ddf57bde61e54d783f165a5 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Mon, 31 Jan 2022 12:41:07 -0700 Subject: [PATCH] Skip some CI jobs for dependabot --- .github/workflows/integration_test.yml | 4 ++++ .github/workflows/release.linux.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index afeccca..cd7c13b 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -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 diff --git a/.github/workflows/release.linux.yml b/.github/workflows/release.linux.yml index 5133bfa..5e8acd7 100644 --- a/.github/workflows/release.linux.yml +++ b/.github/workflows/release.linux.yml @@ -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 }}