Skip to content

Commit

Permalink
ci: trigger ci based on review (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Jan 9, 2025
1 parent 8bbd9e2 commit e0835fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Continuous Integration

on:
pull_request_review:

pull_request:
branches:
- main
Expand All @@ -10,6 +12,7 @@ on:

jobs:
validate:
if: github.event_name != 'pull_request_review' || github.ref == 'refs/heads/changeset-release/main'
runs-on: ubuntu-20.04
name: Validate
steps:
Expand Down Expand Up @@ -38,6 +41,7 @@ jobs:
tests:
runs-on: ubuntu-20.04
name: Tests
if: github.event_name != 'pull_request_review' || github.ref == 'refs/heads/changeset-release/main'

strategy:
fail-fast: false
Expand Down

0 comments on commit e0835fc

Please sign in to comment.