Skip to content

Commit

Permalink
fix: use action/labeler@5 config file format (adoptium#860)
Browse files Browse the repository at this point in the history
Signed-off-by lemeurherve.jenkins@gmail.com
  • Loading branch information
lemeurherve authored and luhenry committed Feb 3, 2024
1 parent 81e3559 commit a508071
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 17 deletions.
42 changes: 26 additions & 16 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,40 @@
# e.g to add the test label to any changes in the /tests directory:

# test:
# - changed-files:
# - tests/*

ghActions:
- .github/workflows/**/*
- changed-files:
- .github/workflows/**/*
documentation:
- docs/**/*
- docs/*
- '**/*.md'
- changed-files:
- docs/**/*
- docs/*
- '**/*.md'
jenkins-pipeline:
- pipelines/**/*
- pipelines/*
- changed-files:
- pipelines/**/*
- pipelines/*
generation:
- pipelines/build/regeneration/*
- pipelines/build/common/config_regeneration.groovy
- changed-files:
- pipelines/build/regeneration/*
- pipelines/build/common/config_regeneration.groovy
docker:
- pipelines/build/dockerFiles/*
- changed-files:
- pipelines/build/dockerFiles/*
testing:
- pipelines/build/prTester/*
- pipelines/src/test/*
- changed-files:
- pipelines/build/prTester/*
- pipelines/src/test/*
code-tools:
- tools/*
- changed-files:
- tools/*
gradle:
- pipelines/gradle/*
- pipelines/build.gradle
- pipelines/gradlew
- changed-files:
- pipelines/gradle/*
- pipelines/build.gradle
- pipelines/gradlew
cross-compile:
- pipelines/build/common/cross_compiled_version_out.groovy
- changed-files:
- pipelines/build/common/cross_compiled_version_out.groovy
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
name: Assign Labels
steps:
- uses: actions/labeler@main
- uses: actions/labeler@v5
if: ${{ github.event.pull_request }}
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit a508071

Please sign in to comment.