Include the filename when asking to allow to edit a file #144
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add unable-to-reproduce comment | |
on: | |
issues: | |
types: | |
- labeled | |
permissions: | |
issues: write | |
jobs: | |
add-comment-to-unable-to-reproduce-issues: | |
if: github.event.label.name == 'unable-to-reproduce' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update issue | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.issue.number }} | |
LABELS: more-info-needed | |
BODY: > | |
Thank you for your issue! Unfortunately, we are unable to reproduce the | |
issue you are experiencing. Please provide more information so we can | |
help you. | |
Here are some tips for writing reproduction steps: | |
- Step by step instructions accompanied by screenshots or screencasts | |
are the best. | |
- Be as specific as possible; include as much detail as you can. | |
- If not already provided, include: | |
- the version of Copilot CLI you are using. | |
- the operating system you are using | |
- any environment factors you can think of. | |
- any custom configuration you are using. | |
- a log file from the day you experienced the issue (find log | |
files via `~/.copilot/logs`. | |
- If relevant and can be shared, provide the repository or code you | |
are using. | |
- If relevant and can be shared, provide the session files (find session files via `~/.copilot/history-session-state`). | |
Note: This is a public repository. Please do not include any sensitive or | |
private information in your issue. | |
run: | | |
gh issue edit "$NUMBER" --add-label "$LABELS" | |
gh issue comment "$NUMBER" --body "$BODY" |