Skip to content

Commit

Permalink
Merge pull request #10 from mbland/github-actions-fix
Browse files Browse the repository at this point in the history
Fix Run Tests conditional for open pull requests
  • Loading branch information
mbland authored Nov 26, 2023
2 parents 441c274 + 8fe8141 commit 1972915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ on:
pull_request:
branches: [ "main" ]
paths-ignore: [ ".*", "**/.*", "**.md", "**.txt" ]
types: [ opened, synchronize, edited, reopened, closed ]
types: [ opened, synchronize, reopened, closed ]
workflow_dispatch:

jobs:
build-test:
name: "Run Tests"
if: >-
github.event_name == 'push' ||
github.event.pull_request.state == 'open' ||
github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1972915

Please sign in to comment.