Skip to content

Commit

Permalink
Merge pull request #51 from riandyrn/chore/fix-compatibility-trigger-…
Browse files Browse the repository at this point in the history
…test

Chore: Fix Compatibility Test Trigger
  • Loading branch information
riandyrn authored Jul 6, 2024
2 parents 119f3c1 + 89c7385 commit 282c44b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/compatibility-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ on:

jobs:
compatibility-test:
if: github.event.review.state == 'APPROVED'
# we trigger the job only when the PR is approved or the job is triggered by other events
# defined in the on section
if: github.event.review.state == 'APPROVED' || github.event_name != 'pull_request_review'
strategy:
matrix:
go-version: ["1.21", "1.22"]
Expand Down

0 comments on commit 282c44b

Please sign in to comment.