From 3f92eccb09860c85bf48c7f9360b722bb0e05c63 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Fri, 20 Mar 2026 17:21:51 +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 ef2644a..b4c0a90 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 d441514..2c99a9e 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 b835f090281e5f88f80266c88077f90c48d59624 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Fri, 20 Mar 2026 17:27:38 +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 b4c0a90..bc63013 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 2c99a9e..1bc543f 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 }}