Skip to content

Commit

Permalink
ci(pr-check): Fix on and the message (#7)
Browse files Browse the repository at this point in the history
<!-- markdownlint-disable MD041 -->

**Issue:** close #

### Checklist

- [ ] This Pull Request introduces a new feature.
- [ ] This Pull Request fixes a bug.

### Description

Runs on every PR change, and the message was wrong.

<!--
A clear and concise description
  - Why did you make this change?
  - Please describe how this method is better than others.
-->

<br />

- [x] I agree to follow the [Code of
Conduct](https://github.com/5ouma/opml-generator/blob/main/.github/CODE_OF_CONDUCT.md).
  • Loading branch information
5ouma committed Mar 9, 2024
1 parent 0c36015 commit 1a778f6
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 1a778f6

Please sign in to comment.