Skip to content

Commit

Permalink
Add bug beta report issue form and workflow. Add emojis for issue for…
Browse files Browse the repository at this point in the history
…ms (#351)
  • Loading branch information
DrDonoso authored May 29, 2024
1 parent d3c83c2 commit 52027ac
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bug Report
name: 🐞 Bug Report
description: File a bug report
title: "[BUG] "
labels: [bug, triage]
Expand Down
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: 🐞🧪 Bug Beta Report
description: File a bug report with a bot response
title: "[BUG BETA] "
labels: [bug_beta]
assignees: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out our bug report form! **Available sources of information regarding CCOInsights**:
* Deployment guide for [Infrastructure dashboard](https://github.com/Azure/CCOInsights/wiki/Infrastructure-Dashboard-Deployment%20Guide), [Governance dashboard](https://github.com/Azure/CCOInsights/wiki/Governance%20Dashboard%20-%20Deployment%20Guide), [GitHub dashboard](https://github.com/Azure/CCOInsights/wiki/GitHub%20Dashboard%20-%20Deployment%20Guide), [ADO dashboard](https://github.com/Azure/CCOInsights/wiki/ADO%20Dashboard%20-%20Deployment%20Guide) where you can find detailed instructions on how to deploy and configure them.
* [Troubleshooting guide](https://github.com/Azure/CCOInsights/wiki/Troubleshooting%20Guide) for insights on what issues might occurr during configuration and operation and how to solve them.
* The CCOInsights [YouTube channel](https://aka.ms/ccoinsights/videos) has a set of videos around configuring and troubleshooting PowerBi and the Infrastructure and Governance dashboards.
* The CCOInsights GitHub [Issues list](https://github.com/Azure/CCOInsights/issues) where we keep track of all reporting issues and offered solutions.
- type: checkboxes
id: prerequirements
attributes:
label: Pre-requirements
description: "Before you submit your bug report, did you go through the available sources to understand if the issue your're reporting was already described and solved?"
options:
- label: Reviewed the Deployment guide
required: true
- label: Reviewed the Troubleshooting guide
required: true
- label: Reviewed the YouTube channel
required: true
- label: Reviewed the GitHub Issues list
required: true
- type: dropdown
id: Dashboard
attributes:
label: What dashboard are you reporting an issue on?
options:
- Infrastructure
- Governance
- GitHub
- ADO
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: "Tell us what you think should have happened."
placeholder: "Explain what happened..."
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: "Tell us how we can reproduce the issue."
placeholder: "1. Step one..."
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: "Add any other context about the problem here."
placeholder: "Additional details..."
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Feature request
name: 💡 Feature request
about: Suggest an idea for this project

---
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/issue_bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: 🆘 Help wanted

on:
issues:
types: [opened]

permissions:
issues: write

jobs:
run:
if: ${{ contains(github.event.issue.labels.*.name, 'bug_beta') }}
runs-on: ubuntu-latest
name: 🚀 Run
outputs:
raw_body: ${{ steps.start.outputs.raw_body }}
steps:
- name: 🚀 Start
shell: bash
id: start
run: |
echo "Running the workflow"
echo "Body: ${{ github.event.issue.body }}"
body_formatted=$(echo "${{ github.event.issue.body }}" | tr -d '\n')
echo "Formatted body: $body_formatted"
echo "raw_body=$body_formatted" >> $GITHUB_OUTPUT
execute:
needs: run
uses: IAExperiments/WikiChatbot/.github/workflows/reusable-workflow.yml@main
secrets:
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
with:
query: ${{ needs.run.outputs.raw_body }}
AZURE_OPENAI_API_ENDPOINT: ${{ vars.AZURE_OPENAI_API_ENDPOINT }}
AZURE_OPENAI_API_INSTANCE_NAME: ${{ vars.AZURE_OPENAI_API_INSTANCE_NAME }}
AZURE_OPENAI_API_VERSION: ${{ vars.AZURE_OPENAI_API_VERSION }}
AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME: ${{ vars.AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME }}
BASEIMAGEURL: ${{ vars.BASEIMAGEURL }}

0 comments on commit 52027ac

Please sign in to comment.