Skip to content

Commit

Permalink
Adjust event matching
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Oct 22, 2024
1 parent d07d918 commit 23edefa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/doc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ run-name: Lint (Docs)
on:
pull_request:

merge_group:

jobs:
changes:
name: Check for relevant changes
Expand All @@ -15,9 +13,6 @@ jobs:
changed: ${{ steps.changes.outputs.changed }}
changed_files: ${{ steps.changes.outputs.changed_files }}
steps:
- name: Checkout
if: ${{ github.event_name == 'merge_group' }}
uses: actions/checkout@v4
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
Expand All @@ -34,7 +29,7 @@ jobs:
doc-tests:
name: Lint (Docs)
needs: changes
if: ${{ !startsWith(github.head_ref, 'dependabot/') && needs.changes.outputs.changed == 'true' && github.event_name == 'pull_request' }}
if: ${{ !startsWith(github.head_ref, 'dependabot/') && needs.changes.outputs.changed == 'true' }}
runs-on: ubuntu-latest

permissions:
Expand Down

0 comments on commit 23edefa

Please sign in to comment.