Skip to content

Commit

Permalink
Automatic addition of the test native label to some PRs (#10653)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti authored Feb 23, 2024
1 parent 8c08031 commit fc5bdac
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit fc5bdac

Please sign in to comment.