Skip to content

Commit 121365b

Browse files
authored
check on push to main branch and releases (#144)
* check on push to main branch and releases * remove trigger on closed/merged PRs
1 parent b74fa6a commit 121365b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/pr-check.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ name: PR Checks
22

33
on:
44
pull_request:
5-
types: [opened, synchronize, reopened, closed]
5+
types: [opened, synchronize, reopened]
6+
7+
push:
8+
branches:
9+
- main
10+
- 'releases/*'
611

712
jobs:
813
backend-test:
9-
# skip this check for closed PRs that are not merged
10-
if: ${{ github.event.action != 'closed' || github.event.pull_request.merged == true }}
1114
runs-on: ubuntu-latest
1215
defaults:
1316
run:
@@ -46,8 +49,6 @@ jobs:
4649
run: uv run pytest -v -s
4750

4851
frontend-build:
49-
# skip this check for closed PRs that are not merged
50-
if: ${{ github.event.action != 'closed' || github.event.pull_request.merged == true }}
5152
runs-on: ubuntu-latest
5253
defaults:
5354
run:

0 commit comments

Comments
 (0)