Update auto comments to make them more uniform

This commit is contained in:
Wolfsblvt
2025-03-13 16:28:28 +01:00
parent 5f726d2b25
commit 4f7695b0ce
4 changed files with 58 additions and 48 deletions

View File

@@ -26,15 +26,15 @@ jobs:
remove-stale-when-updated: true
enable-statistics: true
stale-issue-message: >
This issue has gone 6 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below.
Otherwise it will be closed in 7 days.
This issue has been inactive for 6 months. If it's still relevant, drop a comment below to keep it open.
Otherwise, it will be auto-closed in 7 days.
stale-pr-message: >
This PR is stale because it has been open 6 months with no activity. Either remove the stale label or comment below with a short update,
otherwise this PR will be closed in 7 days.
This PR has been inactive for 6 months. If it's still relevant, update it or remove the stale label.
Otherwise, it will be auto-closed in 7 days.
close-issue-message: >
This issue was automatically closed because it has been stalled for over 6 months with no activity.
🔒 This issue was auto-closed due to inactivity for over 6 months.
close-pr-message: >
This pull request was automatically closed because it has been stalled for over 6 months with no activity.
🔒 This PR was auto-closed due to inactivity for over 6 months.
stale-issue-label: '⚰️ Stale'
close-issue-label: '🕸️ Inactive'
stale-pr-label: '⚰️ Stale'
@@ -60,10 +60,10 @@ jobs:
operations-per-run: 30
remove-stale-when-updated: true
stale-issue-message: >
Hi! Looks like additional info is required for this issue to be addressed.
Don't forget to provide this within the next few days to keep your ticket open.
⚠️ Hey! We need some more info to move forward with this issue.
Please provide the requested details in the next few days to keep this ticket open.
close-issue-message: >
Issue closed due to no response from user.
🔒 This issue was auto-closed due to no response from user.
only-labels: '🚏 Awaiting User Response'
labels-to-remove-when-unstale: '🚏 Awaiting User Response'
stale-issue-label: '🛑 No Response'
@@ -87,10 +87,11 @@ jobs:
operations-per-run: 30
remove-stale-when-updated: true
stale-issue-message: >
This issue was marked as having an alternative solution available. Did this help you out, and this issue can be closed?
Please confirm by commenting to keep it open, otherwise it will be closed in 7 days.
🔄 An alternative solution has been provided for this issue.
Did this solve your problem? If so, we'll go ahead and close it.
If you still need help, drop a comment within the next 7 days to keep this open.
close-issue-message: >
Issue closed automatically due to no confirmation regarding the alternative solution.
✅ Closing this issue due to no confirmation on the alternative solution.
only-labels: '🚧 Alternative Exists'
stale-issue-label: '🚏 Awaiting User Response'
close-issue-label: '🕸️ Inactive'

View File

@@ -17,7 +17,8 @@ jobs:
with:
dirtyLabel: '🚫 Merge Conflicts'
repoToken: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
commentOnDirty: "This pull request has conflicts. Please resolve them, otherwise it cannot be merged."
commentOnDirty: >
⚠️ This PR has conflicts that need to be resolved before it can be merged.
pr-size-labeler:
name: Apply Label for PR Size
@@ -41,9 +42,9 @@ jobs:
xl_label: 'PR - XL'
fail_if_xl: 'false'
message_if_xl: >
This PR exceeds the recommended size of 1000 lines.
Please ensure you are not addressing multiple issues in one PR.
Note this PR might be rejected due to its size.
⚠️ This PR is over 1000 lines, which is larger than recommended.
Please make sure that it only addresses a single issue - PRs this large are hard to test and may be rejected.
github_api_url: 'https://api.github.com'
files_to_ignore: |
"package-lock.json"
@@ -168,5 +169,4 @@ jobs:
for ISSUE in $(echo $final_issues | jq -r '.[]'); do
echo "Updating issue #$ISSUE"
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "✅ Done (staging)"
gh issue comment $ISSUE -R ${{ github.repository }} -b "This issue is now available in the \`staging\` branch for testing. Please verify and let us know any feedback!"
done