Skip to content

Commit

Permalink
ci: fix source branch ref (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Jan 10, 2025
1 parent e0835fc commit a5f85ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
validate:
if: github.event_name != 'pull_request_review' || github.ref == 'refs/heads/changeset-release/main'
if: github.event_name != 'pull_request_review' || github.event.pull_request.head.ref == 'changeset-release/main'
runs-on: ubuntu-20.04
name: Validate
steps:
Expand Down Expand Up @@ -41,7 +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'
if: github.event_name != 'pull_request_review' || github.event.pull_request.head.ref == 'changeset-release/main'

strategy:
fail-fast: false
Expand Down

0 comments on commit a5f85ca

Please sign in to comment.