Skip to content

Commit

Permalink
Fixed pr validation job
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Nov 21, 2024
1 parent 0f1abd1 commit c8acc5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check master
if: ${{github.base_ref == 'master' && github.ref_name != 'develop'}}
run: echo You must not merge directly to master. Instead merge to 'develop' first. && exit 1
if: ${{github.base_ref == 'master' && github.head_ref != 'develop'}}
run: Target=${{github.base_ref}} Source=${{github.head_ref}}. echo You must not merge directly to master. Instead merge to 'develop' first. && exit 1

0 comments on commit c8acc5b

Please sign in to comment.