Skip to content

Commit

Permalink
Update bats workflow (#1058)
Browse files Browse the repository at this point in the history
Co-authored-by: Nuru <[email protected]>
  • Loading branch information
goruha and Nuru committed Jun 5, 2024
1 parent 9fde29c commit 7e21de5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/bats.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: bats

on:
pull_request_target:
pull_request:
types: [labeled, opened, synchronize, unlabeled]

jobs:
Expand All @@ -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
Expand Down

0 comments on commit 7e21de5

Please sign in to comment.