auto_labeler.yml 552 B

12345678910111213141516171819202122232425
  1. #
  2. # Copyright (c) 2006-2024, RT-Thread Development Team
  3. #
  4. # SPDX-License-Identifier: Apache-2.0
  5. #
  6. # Change Logs:
  7. # Date Author Notes
  8. # 2024-08-26 supperthomas the first version
  9. #
  10. #这个action用来自动给pull request 添加标签
  11. #当一个pull request被打开时,这个action会自动给这个pull request添加标签
  12. name: "Pull Request Labeler"
  13. on:
  14. - pull_request_target
  15. jobs:
  16. labeler:
  17. permissions:
  18. contents: read
  19. pull-requests: write
  20. runs-on: ubuntu-22.04
  21. steps:
  22. - uses: actions/labeler@v5