Skip to content

Commit

Permalink
Update labeler to v5
Browse files Browse the repository at this point in the history
The trigger was temporarily changed to pull_request as described here:
https://github.com/actions/labeler?tab=readme-ov-file#notes-regarding-pull_request_target-event
  • Loading branch information
delatrie committed Mar 26, 2024
1 parent 461ba07 commit e06e305
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 17 deletions.
40 changes: 25 additions & 15 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
"theme:workflow":
- ".github/**"
- changed-files:
- any-glob-to-any-file: ".github/**"

"theme:build":
- "*.sln"
- "**/*.csproj"
- ".gitignore"

"theme:model":
- "allure-model/**"
- changed-files:
- any-glob-to-any-file:
- "*.sln"
- "**/*.csproj"
- "Directory.Build.props"
- ".gitignore"

"theme:core":
- "Allure.Net.Commons/**"
- "Allure.Net.Commons.Tests/**"
- changed-files:
- any-glob-to-any-file:
- "Allure.Net.Commons/**"
- "Allure.Net.Commons.Tests/**"

"theme:xunit":
- "Allure.XUnit/**"
- "Allure.XUnit.Tests/**"
- changed-files:
- any-glob-to-any-file:
- "Allure.XUnit/**"
- "Allure.XUnit.Tests/**"

"theme:nunit":
- "Allure.NUnit/**"
- "Allure.NUnit.Tests/**"
- changed-files:
- any-glob-to-any-file:
- "Allure.NUnit/**"
- "Allure.NUnit.Tests/**"

"theme:specflow":
- "Allure.SpecFlowPlugin/**"
- "Allure.SpecFlowPlugin.Tests/**"
- changed-files:
- any-glob-to-any-file:
- "Allure.Features/**"
- "Allure.SpecFlowPlugin/**"
- "Allure.SpecFlowPlugin.Tests/**"
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: "Set theme labels"

on:
- pull_request_target
- pull_request

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e06e305

Please sign in to comment.