mermaid/.github/workflows/pr-labeler.yml

20 lines
452 B
YAML
Raw Normal View History

2019-11-30 23:23:09 +01:00
name: Apply labels to PR
on:
pull_request_target:
2019-11-30 23:23:09 +01:00
types: [opened]
permissions:
contents: read
2019-11-30 23:23:09 +01:00
jobs:
pr-labeler:
runs-on: ubuntu-latest
permissions:
contents: read # read permission is required to read config file
pull-requests: write # write permission is required to label PRs
2019-11-30 23:23:09 +01:00
steps:
- name: Label PR
uses: TimonVS/pr-labeler-action@v4
2019-11-30 23:23:09 +01:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}