From 1e145fcd2d1e63a23cd0168f50f23561e295ce88 Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Fri, 23 Feb 2024 16:00:59 +0100 Subject: [PATCH 1/3] Automatic addition of the test native label to some PRs --- .github/workflows/label.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/label.yml diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000000..51e3242a402b --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,15 @@ +name: Labeler +on: [pull_request_target] + +jobs: + label: + + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" From d07c2d87b01f5e2ea98fbbf546497b3c7b7d07a2 Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Fri, 23 Feb 2024 16:03:04 +0100 Subject: [PATCH 2/3] Add missing file --- .github/labeler.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000000..d4881255ff97 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,12 @@ +test native: + - changed-files: + - any-glob-to-any-file: + - instrumentation/logback/logback-appender-10/library/** + - instrumentation/jdbc/library/** + - instrumentation/spring/** + - smoke-tests-otel-starter/** + - all-globs-to-all-files: '!instrumentation/spring/**/javaagent/** + + + + From c785b066a3c79b4916362c658131cdcec4408fd7 Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Fri, 23 Feb 2024 18:42:40 +0100 Subject: [PATCH 3/3] Remove line breaks --- .github/labeler.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index d4881255ff97..49503b4cb15d 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,7 +6,3 @@ test native: - instrumentation/spring/** - smoke-tests-otel-starter/** - all-globs-to-all-files: '!instrumentation/spring/**/javaagent/** - - - -