My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

check-pr.yml 1012B

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](http://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.