Skip to content

Commit

Permalink
Update labeler workflow (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Dec 15, 2023
1 parent f347c77 commit be92a03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
windows:
- windows/**/*
- changed-files:
- any-glob-to-any-file: 'windows/**/*'
macos:
- macos/**/*
- changed-files:
- any-glob-to-any-file: 'macos/**/*'
12 changes: 4 additions & 8 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: "Pull Request Labeler"

permissions:
contents: read
pull-requests: write

on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review, locked]

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: '.github/labeler.yml'
- uses: actions/labeler@v5

0 comments on commit be92a03

Please sign in to comment.