mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-14 23:46:52 +03:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# Reply Bot
|
|
# It uses the configuration in .github/label-commenter-config.yml
|
|
# See https://github.com/peaceiris/actions-label-commenter
|
|
|
|
name: Reply-Bot
|
|
|
|
on:
|
|
issues:
|
|
types: [labeled]
|
|
discussion:
|
|
types: [labeled]
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
pull-requests: write
|
|
discussions: write
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Remove 'Web Console' label again (issues only)
|
|
if: github.event.label.name == 'bot-reply Web Console'
|
|
uses: actions-cool/issues-helper@v2
|
|
with:
|
|
actions: 'remove-labels'
|
|
labels: 'bot-reply Web Console'
|
|
|
|
- name: Remove 'Rolling Build' label again (issues only)
|
|
if: github.event.label.name == 'bot-reply Rolling Build'
|
|
uses: actions-cool/issues-helper@v2
|
|
with:
|
|
actions: 'remove-labels'
|
|
labels: 'bot-reply Rolling Build'
|
|
|
|
- name: Write Response
|
|
uses: peaceiris/actions-label-commenter@c2d00660c86f2b9ed0fb35b372c451558eba85b3
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|