Skip to content

Commit

Permalink
chore: fix run condition for the job;
Browse files Browse the repository at this point in the history
  • Loading branch information
riandyrn committed Jul 6, 2024
1 parent 119f3c1 commit 89c7385
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 89c7385

Please sign in to comment.