Merge pull request #1036 from actions/nickfyson/add-labeller-workflow
add labeller workflow to triage code scanning PRs
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
# Add 'code-scanning' label to any changes within 'code-scanning' folder or any subfolders
|
||||||
|
code-scanning:
|
||||||
|
- code-scanning/**/*
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
name: "Pull Request Labeler"
|
||||||
|
on:
|
||||||
|
- pull_request_target
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
triage:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/labeler@v3
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
Reference in New Issue
Block a user