-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Issue FAQ | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
add_comment: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Add comment to new issue | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
github.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: ` | ||
Thank you for opening an issue! | ||
Please, first check our [FAQ](https://github.com/iwatkot/py3xui/discussions/categories/faq) section in discussions to see if your question has already been answered. | ||
You can also use Discussion if you have any questions or suggestions, while the Issues section is for bug reports and feature requests. | ||
If you want to proceed with the issue, please provide the following information: | ||
- Description of the issue | ||
- Expected behavior | ||
- Actual behavior | ||
- Steps to reproduce the issue | ||
- Python version | ||
- OS | ||
- py3xui version | ||
- 3x-UI version | ||
- Code snippet or a minimal example to reproduce the issue (if applicable) | ||
- JSON representation of the request to the API (if applicable) | ||
Thank you! | ||
` | ||
}) |