From bdf5d3a1f53e4ec345fea2aae4634c3c6e8325ee Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Fri, 20 Mar 2026 17:22:16 +0800 Subject: [PATCH 1/2] Skip Actions on Dependabot PR --- .github/workflows/coding-standards.yml | 5 +++++ .github/workflows/tests.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index dc838f9..18a182a 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.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 d7aa616..f82d09b 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 }} From 3f7e5aa4b6dc8dc99818042890aeeb00f27b373e Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Fri, 20 Mar 2026 17:28:13 +0800 Subject: [PATCH 2/2] Fix typo --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 18a182a..65be1c1 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -22,7 +22,7 @@ jobs: # 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] + if: github.actor != 'dependabot[bot]' # Environment Variables. # Accessible by using ${{ env.NAME }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f82d09b..c25d543 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: # 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] + if: github.actor != 'dependabot[bot]' # Environment Variables. # Accessible by using ${{ env.NAME }}