From b5bb28b39632d916d2e28d68d3e591d05fe0603f Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 27 Jul 2021 13:02:14 -0700 Subject: [PATCH] Dependabot does not have access to commit --- .github/workflows/javascript-packages.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/javascript-packages.yaml b/.github/workflows/javascript-packages.yaml index 7ca799807..095a35533 100644 --- a/.github/workflows/javascript-packages.yaml +++ b/.github/workflows/javascript-packages.yaml @@ -6,14 +6,15 @@ on: jobs: run: + if: ${{ github.actor != 'dependabot[bot]' }} name: npm run build runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v2 - # with: + with: # Make sure the actual branch is checked out when running on pull requests - # ref: ${{ github.head_ref }} + ref: ${{ github.head_ref }} - name: Install dependencies run: |