mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: elaborate dupe bot comment (#21025)
Hopefully this stops people opening new threads
This commit is contained in:
parent
1198311d64
commit
cd6d8fcdfe
1 changed files with 2 additions and 2 deletions
4
.github/workflows/close-duplicates.yml
vendored
4
.github/workflows/close-duplicates.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
gh api graphql \
|
gh api graphql \
|
||||||
-f issueId="$NODE_ID" \
|
-f issueId="$NODE_ID" \
|
||||||
-f body="This issue has automatically been closed as it is likely a duplicate. We get a lot of duplicate threads each day, which is why we ask you in the template to confirm that you searched for duplicates before opening one." \
|
-f body="This issue has automatically been closed as it is likely a duplicate. We get a lot of duplicate threads each day, which is why we ask you in the template to confirm that you searched for duplicates before opening one. If you're sure this is not a duplicate, please leave a comment and we will reopen the thread if necessary." \
|
||||||
-f query='
|
-f query='
|
||||||
mutation CommentAndCloseIssue($issueId: ID!, $body: String!) {
|
mutation CommentAndCloseIssue($issueId: ID!, $body: String!) {
|
||||||
addComment(input: {
|
addComment(input: {
|
||||||
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
gh api graphql \
|
gh api graphql \
|
||||||
-f discussionId="$NODE_ID" \
|
-f discussionId="$NODE_ID" \
|
||||||
-f body="This discussion has automatically been closed as it is likely a duplicate. We get a lot of duplicate threads each day, which is why we ask you in the template to confirm that you searched for duplicates before opening one." \
|
-f body="This discussion has automatically been closed as it is likely a duplicate. We get a lot of duplicate threads each day, which is why we ask you in the template to confirm that you searched for duplicates before opening one. If you're sure this is not a duplicate, please leave a comment and we will reopen the thread if necessary." \
|
||||||
-f query='
|
-f query='
|
||||||
mutation CommentAndCloseDiscussion($discussionId: ID!, $body: String!) {
|
mutation CommentAndCloseDiscussion($discussionId: ID!, $body: String!) {
|
||||||
addDiscussionComment(input: {
|
addDiscussionComment(input: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue