ansible-collection-hardening/.github/workflows/enforce-labels.yml
schurzi 6e84f53a75
run labeler workflow with higher privileges (#383)
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
2021-01-22 12:34:59 +01:00

12 lines
271 B
YAML

name: "Enforce PR labels"
on:
pull_request_target:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"