Skip to content

Commit aed3787

Browse files
authored
Merge pull request #594 from espressif/Issue_bot_branch
Create issue_bot.yml
2 parents 531886c + 85cde5b commit aed3787

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/issue_bot.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Bot response to issues
2+
3+
on:
4+
issues:
5+
types: [opened, edited]
6+
7+
jobs:
8+
docs_bot:
9+
name: Generate automated response by docs bot
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Docs bot action
13+
if: ${{ github.repository_owner == 'espressif' }}
14+
uses: espressif/docs-bot-action@master
15+
env:
16+
BOT_API_KEY: ${{ secrets.BOT_API_KEY }}
17+
BOT_INTEGRATION_ID: ${{ secrets.BOT_INTEGRATION_ID }}
18+
BOT_API_ENDPOINT: ${{ secrets.BOT_API_ENDPOINT }}
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
github_repository: ${{ github.repository }}
22+
github_issue_number: ${{ github.event.issue.number }}
23+
title: ${{ github.event.issue.title }}
24+
in_msg: ${{ github.event.issue.body }}
25+
prefix_out_msg: >
26+
Hi @${{ github.event.issue.user.login }}! Please be aware that
27+
(1) the following suggestions are generated by a bot and haven't been fact-checked by Espressif
28+
Systems,
29+
(2) burning eFuses and enabling security features are irreversible operations and can damage your ESP32 device.
30+
We hope that this message will help you until an Espressif Engineer looks at your issue.

0 commit comments

Comments
 (0)