diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 2d2c2fc5f..f72219b4c 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -18,6 +18,11 @@ jobs: # Virtual Environment to use. # @see: https://github.com/actions/virtual-environments runs-on: ubuntu-latest + + # Don't run if the PR is from Dependabot, as it doesn't have access to the repository's secrets. + # Dependabot also only checks for GitHub action dependencies, so it's not necessary to run + # Plugin tests. + if: github.actor != 'dependabot[bot]' # Environment Variables. # Accessible by using ${{ env.NAME }} diff --git a/.github/workflows/tests-backward-compat.yml b/.github/workflows/tests-backward-compat.yml index 2c180a08b..914a600b8 100644 --- a/.github/workflows/tests-backward-compat.yml +++ b/.github/workflows/tests-backward-compat.yml @@ -19,6 +19,11 @@ jobs: # @see: https://github.com/actions/virtual-environments runs-on: ubuntu-latest + # Don't run if the PR is from Dependabot, as it doesn't have access to the repository's secrets. + # Dependabot also only checks for GitHub action dependencies, so it's not necessary to run + # Plugin tests. + if: github.actor != 'dependabot[bot]' + # Environment Variables. # Accessible by using ${{ env.NAME }} # Use ${{ secrets.NAME }} to include any GitHub Secrets in ${{ env.NAME }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c2a260e0f..53c9ae07e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,11 @@ jobs: # @see: https://github.com/actions/virtual-environments runs-on: ubuntu-latest + # Don't run if the PR is from Dependabot, as it doesn't have access to the repository's secrets. + # Dependabot also only checks for GitHub action dependencies, so it's not necessary to run + # Plugin tests. + if: github.actor != 'dependabot[bot]' + # Environment Variables. # Accessible by using ${{ env.NAME }} # Use ${{ secrets.NAME }} to include any GitHub Secrets in ${{ env.NAME }} @@ -391,7 +396,7 @@ jobs: needs: tests # Only run on pull requests, not when merging to main branch - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' # Virtual Environment to use. # @see: https://github.com/actions/virtual-environments