forked from mriscoc/Ender3V2S1
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fcc049
commit 8c3c849
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ name: PR Bad Target | |
on: | ||
pull_request_target: | ||
types: [opened] | ||
branches: | ||
- 2024-* | ||
- HC32-* | ||
|
||
jobs: | ||
bad_target: | ||
|
@@ -17,18 +20,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Close invalid PR | ||
if: ${{ github.event.pull_request.base.ref != '2024-December' }} | ||
uses: superbrothers/[email protected] | ||
- uses: superbrothers/[email protected] | ||
with: | ||
comment: > | ||
Thanks for your contribution! | ||
Thanks for your contribution! | ||
Unfortunately, we can only accept PRs targeting the default branch. | ||
To fix this: | ||
1. Rebase your branch onto `2024-December`. | ||
2. Submit a new PR targeting `2024-December`. | ||
Unfortunately, we can only accept **PR**s targeting the **default** branch. | ||
Anything Marlin specific, or `HC32-*` branches should be submitted [here](https://github.com/MarlinFirmware/Marlin/issues/new/choose). | ||
To fix this: | ||
1. Rebase your branch onto `default`. | ||
2. Submit a new **PR** targeting the most recent. | ||
Please redo this PR starting with the most recent branch and be careful to target it when resubmitting the PR. | ||
Please redo this **PR** starting with the most recent branch and be careful to target it when resubmitting the **PR**. | ||
See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions. |