30 lines
720 B
YAML
30 lines
720 B
YAML
#
|
|
# Automatically respond to any issues/pull requests that have the given labels assigned.
|
|
#
|
|
name: Label Commenter
|
|
|
|
on:
|
|
issues:
|
|
types:
|
|
- labeled
|
|
- unlabeled
|
|
pull_request:
|
|
types:
|
|
- labeled
|
|
- unlabeled
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: master
|
|
|
|
- name: Label Commenter
|
|
# Note: Using SHA explicitly for v1.2.3 - https://julienrenaux.fr/2019/12/20/github-actions-security-risk/
|
|
uses: peaceiris/actions-label-commenter@93941f8f189a4b92ab75059aa39fe421469253f4
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
config_file: .github/label-commenter-config.yml
|