Skip to content

Commit

Permalink
Merge pull request #1115 from aws-observability/labels
Browse files Browse the repository at this point in the history
Add Labeler
  • Loading branch information
thpierce authored Aug 15, 2024
2 parents 39cd59d + 81f8095 commit ad1529f
Show file tree
Hide file tree
Showing 2 changed files with 20 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 @@
# This is used with the label workflow which will triage pull requests and apply a label based on the paths that are
# modified in the pull request. For more information, see: https://github.com/actions/labeler

'InstrumentationSampleApp':
- all:
- changed-files:
- any-glob-to-any-file: ['sample-apps/**/*']
- all-globs-to-any-file: ['!sample-apps/prometheus-sample-app/**/*']
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit ad1529f

Please sign in to comment.