Skip to content

Commit

Permalink
update label workflow to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
amareshsm committed Sep 17, 2024
1 parent d46e0ce commit 3749203
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
8 changes: 6 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
playground:
- playground/**/*
- any:
- changed-files:
- any-glob-to-any-file: ['playground/**/*']

translation:
- src/_data/sites/*
- any:
- changed-files:
- any-glob-to-any-file: ['src/_data/sites/*']
16 changes: 7 additions & 9 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

name: "Pull Request Labeler"
on: pull_request_target
jobs:
label:
runs-on: ubuntu-latest
labeler:
permissions:
contents: read
pull-requests: write

runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@v5
with:
sync-labels: true

0 comments on commit 3749203

Please sign in to comment.