From 98c6ca9d8f86931c7e3daa318967e6bb396fa29a Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 26 Nov 2022 12:23:55 +0100 Subject: [PATCH] CI: skip cloud tests for dependabot pull requests --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index da7431295..eb16c00b5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -200,7 +200,9 @@ jobs: # only run cloud backend tests for pull requests from and pushes to our # own repo, otherwise the secrets are not available - if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && matrix.test_cloud_backends + # Skip for Dependabot pull requests as these are run without secrets + # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events + if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && (github.actor != 'dependabot[bot]') && matrix.test_cloud_backends - name: Check changelog files with calens run: |