diff --git a/.github/labeler.yml b/.github/labeler.yml index 2a379ed..175016c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,8 +1,10 @@ # Add the "container" label to pull request that changes the `./container` directory container: - - 'container/**/*' + - changed-files: + - any-glob-to-any-file: 'container/**/*' # Add the "source" label to pull request that changes anything but the `./container` directory source: - - any: ['**'] - all: ['!container/**/*'] + - all: + - any-glob-to-any-file: '**/*' + - all-globs-to-all-files: '!container/**/*' diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 0c052c9..cb8e40f 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -10,7 +10,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 Container-Build: runs-on: ubuntu-latest