Skip to content

Commit

Permalink
2nd attempt ot update labeler (adoptium#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
karianna authored and luhenry committed Feb 3, 2024
1 parent eac19c0 commit 30c6e24
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 28 deletions.
39 changes: 16 additions & 23 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,28 @@

ghActions:
- changed-files:
- .github/workflows/**/*
- any-glob-to-any-file: [.github/workflows/**/*]
documentation:
- changed-files:
- docs/**/*
- docs/*
- '**/*.md'
- any-glob-to-any-file: [docs/**/*, docs/*, '**/*.md']
jenkins-pipeline:
- changed-files:
- pipelines/**/*
- pipelines/*
- changed-files:
- any-glob-to-any-file: [pipelines/**/*, pipelines/*]
generation:
- changed-files:
- pipelines/build/regeneration/*
- pipelines/build/common/config_regeneration.groovy
- changed-files:
- any-glob-to-any-file: [pipelines/build/regeneration/*, pipelines/build/common/config_regeneration.groovy]
docker:
- changed-files:
- pipelines/build/dockerFiles/*
- changed-files:
- any-glob-to-any-file: [pipelines/build/dockerFiles/*]
testing:
- changed-files:
- pipelines/build/prTester/*
- pipelines/src/test/*
- changed-files:
- any-glob-to-any-file: [pipelines/build/prTester/*, pipelines/src/test/*]
code-tools:
- changed-files:
- tools/*
- changed-files:
- any-glob-to-any-file: [tools/*]
gradle:
- changed-files:
- pipelines/gradle/*
- pipelines/build.gradle
- pipelines/gradlew
- changed-files:
- any-glob-to-any-file: [pipelines/gradle/*, pipelines/build.gradle, pipelines/gradlew]
cross-compile:
- changed-files:
- pipelines/build/common/cross_compiled_version_out.groovy
- changed-files:
- any-glob-to-any-file: [pipelines/build/common/cross_compiled_version_out.groovy]
2 changes: 0 additions & 2 deletions .github/regex_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ labels:
matcher:
title: "sparc"
body: "sparc"

- label: "hotspot"
matcher:
title: "hotspot"
Expand Down Expand Up @@ -117,7 +116,6 @@ labels:
matcher:
title: "cross"
body: "risc"

- label: "hacktoberfest"
matcher:
body: "hacktober"
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
name: Assign Labels
steps:
- uses: actions/labeler@v5
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
if: ${{ github.event.pull_request }}
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

- uses: fuxingloh/multi-labeler@v2
- uses: fuxingloh/multi-labeler@6704db0bcba106d07482efabbc79d3092af74fa2 # v2.0.3
with:
github-token: "${{secrets.GITHUB_TOKEN}}"
config-path: .github/regex_labeler.yml
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ pipelines/.gradle
pipelines/gradle-cache
pipelines/target
**/.DS_Store
jenkins-helper/
jenkins-helper/
**/*/.java-version

0 comments on commit 30c6e24

Please sign in to comment.