From 1e52a643517a9262eb3cfd6f941a489954c1ea2c Mon Sep 17 00:00:00 2001 From: Sazerac4 Date: Fri, 6 Sep 2024 14:04:30 +0200 Subject: [PATCH] try add labeler.yml file --- .github/labeler.yml | 8 ++++++++ .github/workflows/label.yml | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .github/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..379872e7c --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +# Add 'AnyChange' label to any changes within the entire repository +AnyChange: +- changed-files: + - any-glob-to-any-file: '**' + +c: +- changed-files: + - any-glob-to-any-file: src/** diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index ecc15dc6f..7b924771f 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -9,11 +9,12 @@ name: Labeler on: [pull_request, workflow_dispatch] jobs: - label: - + labeler: runs-on: ubuntu-latest - + permissions: + contents: read + pull-requests: write steps: - - uses: actions/labeler@v2 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"