My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

check-pr.yml 915B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # check-pr.yml
  3. # Close PRs directed at release branches
  4. #
  5. name: PR Bad Target
  6. on:
  7. pull_request:
  8. branches:
  9. - 1.0.x
  10. - 1.1.x
  11. - 2.0.x
  12. jobs:
  13. bad_target:
  14. name: PR Bad Target
  15. if: github.repository == 'MarlinFirmware/Marlin'
  16. runs-on: ubuntu-latest
  17. steps:
  18. - uses: peter-evans/close-pull@v1
  19. with:
  20. delete-branch: false
  21. comment: >
  22. 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.
  23. Please redo this PR starting with the `bugfix-2.0.x` branch and be careful to target `bugfix-2.0.x` when resubmitting the PR.
  24. It may help to set your fork's default branch to `bugfix-2.0.x`.
  25. See [this page](http://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.