Skip to content

Commit

Permalink
ci(pr-check): Fix on and the message
Browse files Browse the repository at this point in the history
Run on every PR change, and message was wrong.
  • Loading branch information
5ouma committed Mar 9, 2024
1 parent 0c36015 commit f95cf78
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: 🥽 Pull Request Check

on:
- pull_request_target
pull_request:
types:
- opened
- reopened
- edited

jobs:
Labeler:
Expand All @@ -20,4 +24,4 @@ jobs:
steps:
- name: 🚫 Base Branch is wrong
if: ${{ github.head_ref != 'dev' && github.base_ref == 'main' }}
run: echo "Base branch should be \`main\`." && return 1
run: echo "Base branch should be \`dev\`." && return 1

0 comments on commit f95cf78

Please sign in to comment.