You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c171d6f
Browse filesBrowse the repository at this point in the historyBrowse files
const commentAge = now - new Date(complianceComment.created_at).getTime();
90
-
if (commentAge < twoHours) {
91
-
core.info(`${kind} #${item.number} still within 2-hour window (${Math.round(commentAge / 60000)}m elapsed)`);
90
+
if (commentAge < seventyTwoHours) {
91
+
core.info(`${kind} #${item.number} still within 72-hour window (${Math.round(commentAge / 60000)}m elapsed)`);
92
92
continue;
93
93
}
94
94
95
95
const closeMessage = isPR
96
-
? 'This pull request has been automatically closed because it was not updated to meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md) within the 2-hour window.\n\nFeel free to open a new pull request that follows our guidelines.'
97
-
: 'This issue has been automatically closed because it was not updated to meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md) within the 2-hour window.\n\nFeel free to open a new issue that follows our issue templates.';
96
+
? 'This pull request has been automatically closed because it was not updated to meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md) within the 72-hour window.\n\nFeel free to open a new pull request that follows our guidelines.'
97
+
: 'This issue has been automatically closed because it was not updated to meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md) within the 72-hour window.\n\nFeel free to open a new issue that follows our issue templates.';
98
98
99
99
await github.rest.issues.createComment({
100
100
owner: context.repo.owner,
@@ -129,5 +129,5 @@ jobs:
129
129
});
130
130
}
131
131
132
-
core.info(`Closed non-compliant ${kind} #${item.number} after 2-hour window`);
132
+
core.info(`Closed non-compliant ${kind} #${item.number} after 72-hour window`);
If the issue is NOT compliant and the author association is not OWNER or MEMBER, start the comment with:
109
109
<!-- issue-compliance -->
110
-
Then explain what needs to be fixed and that they have 2 hours to edit the issue before it is automatically closed. Also add the label needs:compliance to the issue using: gh issue edit ${{ github.event.issue.number }} --add-label needs:compliance
110
+
Then explain what needs to be fixed and that they have 72 hours to edit the issue before it is automatically closed. Also add the label needs:compliance to the issue using: gh issue edit ${{ github.event.issue.number }} --add-label needs:compliance
111
111
112
112
If duplicates were found, include a section about potential duplicates with links.
113
113
@@ -124,7 +124,7 @@ jobs:
124
124
**What needs to be fixed:**
125
125
- [specific reasons]
126
126
127
-
Please edit this issue to address the above within **2 hours**, or it will be automatically closed.
127
+
Please edit this issue to address the above within **72 hours**, or it will be automatically closed.
128
128
129
129
[If duplicates found, add:]
130
130
---
@@ -188,7 +188,7 @@ jobs:
188
188
"webfetch": "deny"
189
189
}
190
190
run: |
191
-
opencode run -m opencode/claude-sonnet-4-6 "Issue #${{ github.event.issue.number }} was previously flagged as non-compliant and has been edited.
191
+
opencode run -m opencode/gpt-6-luna --variant high "Issue #${{ github.event.issue.number }} was previously flagged as non-compliant and has been edited.
0 commit comments