diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 8b1d1c5..101e530 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -1,9 +1,6 @@ name: Go Test Workflow on: - push: - branches: - - main pull_request: branches: - main @@ -12,10 +9,13 @@ jobs: test: name: Run Go Tests runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' }} steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Setup Go uses: actions/setup-go@v5