Skip to content

Commit 98cd19d

Browse files
authored
Config issue workflow (#3348)
* Intial: issue comments workflow * Update: formatting * Additional common search terms
1 parent 4c8b91e commit 98cd19d

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

.github/workflows/apply_comments.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Add issue comments by label
2+
on:
3+
issues:
4+
types:
5+
- labeled
6+
jobs:
7+
help-wanted:
8+
if: github.event.label.name == 'help wanted'
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- name: Help wanted comment
14+
run: gh issue comment "$NUMBER" --body "$BODY"
15+
env:
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
GH_REPO: ${{ github.repository }}
18+
NUMBER: ${{ github.event.issue.number }}
19+
BODY: >
20+
This issue is not able to be completed due to limited bandwidth or access to the required test hardware.
21+
22+
This issue is available for anyone to work on.
23+
24+
25+
config-issue:
26+
if: github.event.label.name == 'config-issue'
27+
runs-on: ubuntu-latest
28+
permissions:
29+
issues: write
30+
steps:
31+
- name: Config issue comment
32+
run: gh issue close "$NUMBER" --reason "not planned" --comment "$BODY"
33+
env:
34+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GH_REPO: ${{ github.repository }}
36+
NUMBER: ${{ github.event.issue.number }}
37+
BODY: >
38+
After reviewing this issue, this appears to be a problem with your setup and not Audiobookshelf. This issue is being closed to keep the issue tracker focused on Audiobookshelf itself. Please reach out on the Audiobookshelf Discord for community support.
39+
40+
Some common search terms to help you find the solution to your problem:
41+
- Reverse proxy
42+
- Enabling websockets
43+
- SSL (https vs http)
44+
- Configuring a static IP
45+
- `localhost` versus IP address
46+
- hairpin NAT
47+
- VPN
48+
- firewall ports
49+
- public versus private network
50+
- bridge versus host mode
51+
- Docker networking
52+
- DNS (such as EAI_AGAIN errors)
53+
54+
After you have followed these steps, please post the solution or steps you followed to fix the problem to help others in the future, or show that it is a problem with Audiobookshelf so we can reopen the issue.
55+

0 commit comments

Comments
 (0)