From 8073d2c4e8e81038796ba738aeae50ec2eb740ac Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Mon, 26 Aug 2024 06:44:37 +0800 Subject: [PATCH] Create labeler.yml --- .github/workflows/labeler.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/labeler.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..5136192 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,18 @@ +name: Labeler + +on: + pull_request: + paths: + - '**/*' + +jobs: + label: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Label PR + uses: actions/labeler@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}