Skip to content

Commit

Permalink
Fix labeler v5 (#1703)
Browse files Browse the repository at this point in the history
* Fix labeler v5
  • Loading branch information
brndnmtthws authored Dec 12, 2023
1 parent c43582e commit e8c6c24
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 19 deletions.
48 changes: 32 additions & 16 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,47 @@
documentation:
- doc/*
- doc/**/*
- changed-files:
- any-glob-to-any-file:
- doc/*
- doc/**/*

extras:
- extras/*
- extras/**/*
- changed-files:
- any-glob-to-any-file:
- extras/*
- extras/**/*

sources:
- src/*
- src/**/*
- changed-files:
- any-glob-to-any-file:
- src/*
- src/**/*

tests:
- tests/**/*
- tests/*
- changed-files:
- any-glob-to-any-file:
- tests/**/*
- tests/*

web:
- web/*
- web/**/*
- changed-files:
- any-glob-to-any-file:
- web/*
- web/**/*

appimage:
- appimage/*
- appimage/**/*
- changed-files:
- any-glob-to-any-file:
- appimage/*
- appimage/**/*

3rdparty:
- 3rdparty/*
- 3rdparty/**/*
- changed-files:
- any-glob-to-any-file:
- 3rdparty/*
- 3rdparty/**/*

gh-actions:
- .github/workflows/*
- .github/workflows/**/*
- changed-files:
- any-glob-to-any-file:
- .github/workflows/*
- .github/workflows/**/*
9 changes: 6 additions & 3 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Pull Request Labeler"
name: 'Pull Request Labeler'
on:
- pull_request_target

Expand All @@ -9,7 +9,10 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
- name: Checkout
uses: actions/checkout@v4
- name: Run labeler
uses: actions/labeler@v5
with:
sync-labels: true
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit e8c6c24

Please sign in to comment.