Skip to content

Commit

Permalink
ci: adjust conditional ci on pr [DO-3025] (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-karwacki-rdx authored Feb 24, 2025
1 parent e213001 commit cb3af05
Show file tree
Hide file tree
Showing 71 changed files with 161 additions and 154 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
name: Test
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
- labeled
- unlabeled
push:
branches:
- main
Expand Down Expand Up @@ -45,7 +52,7 @@ jobs:
check-version:
if: >
( github.ref == 'refs/heads/main' && github.event_name == 'push' ) ||
( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'RunCI') )
( github.event_name == 'pull_request' && github.event.action == 'opened' && !github.event.pull_request.draft )
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
Loading

0 comments on commit cb3af05

Please sign in to comment.