[GitHub Actions] Use actions/labeler (#233)
- Leverage existing labeler action for labels based on files changed. - Change the previous workflow to run on 30 minute intervals to assign author organization membership label, to work on forked pull requests. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
7105a89a51
commit
8956b47747
@@ -0,0 +1,14 @@
|
||||
name: Auto Label PR
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- id: label-the-PR
|
||||
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
|
||||
Reference in New Issue
Block a user