Automatic addition of the test native label to some PRs (#10653)

This commit is contained in:
Jean Bisutti 2024-02-23 19:54:22 +01:00 committed by GitHub
parent 8c080313c9
commit fc5bdac100
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 0 deletions

8
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,8 @@
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/**

15
.github/workflows/label.yml vendored Normal file
View File

@ -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 }}"