add labeller workflow to triage code scanning PRs

This commit is contained in:
Nick Fyson
2021-08-10 20:15:41 +01:00
parent 685784690c
commit 443876fc44
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Add 'code-scanning' label to any changes within 'code-scanning' folder or any subfolders
code-scanning:
- code-scanning/**/*
+11
View File
@@ -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 }}"