My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # check-pr.yml
  3. # Close PRs directed at release branches
  4. #
  5. name: PR Bad Target
  6. on:
  7. pull_request_target:
  8. types: [opened]
  9. branches:
  10. - 1.0.x
  11. - 1.1.x
  12. - 2.0.x
  13. - 2.1.x
  14. jobs:
  15. bad_target:
  16. name: PR Bad Target
  17. if: github.repository == 'MarlinFirmware/Marlin'
  18. runs-on: ubuntu-latest
  19. steps:
  20. - uses: superbrothers/close-pull-request@v3
  21. with:
  22. comment: >
  23. Thanks for your contribution! Unfortunately we can't accept PRs directed at release branches. We make patches to the bugfix branches and only later do we push them out as releases.
  24. Please redo this PR starting with the `bugfix-2.1.x` branch and be careful to target `bugfix-2.1.x` when resubmitting the PR. Patches may also target `bugfix-2.0.x` if they are specifically for 2.0.9.x.
  25. It may help to set your fork's default branch to `bugfix-2.0.x`.
  26. See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.