diff --git a/.github/workflows/bats.yml b/.github/workflows/bats.yml index 4915cdace..798006459 100644 --- a/.github/workflows/bats.yml +++ b/.github/workflows/bats.yml @@ -1,7 +1,7 @@ name: bats on: - pull_request_target: + pull_request: types: [labeled, opened, synchronize, unlabeled] jobs: @@ -19,10 +19,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - repository: ${{ github.event.pull_request.head.repo.full_name }} - # Check out the PR commit, not the merge commit - # Use `ref` instead of `sha` to enable pushing back to `ref` - ref: ${{ github.event.pull_request.head.ref }} - name: Run tests on modified modules id: get-modified-files