kevinjqliu commented on code in PR #2171:
URL: https://github.com/apache/iceberg-rust/pull/2171#discussion_r2848731134


##########
.github/workflows/stale.yml:
##########
@@ -47,3 +47,12 @@ jobs:
           close-issue-message: >
             This issue has been closed because it has not received any 
activity in the last 14 days
             since being marked as 'stale'
+          # stale PRs
+          stale-pr-label: 'stale'
+          exempt-pr-labels: 'not-stale,security'
+          stale-pr-message: 'This pull request has been marked as stale due to 
30 days of inactivity. It will be closed in 1 week if no further activity 
occurs. If you think that’s incorrect or this pull request requires a review, 
please simply write any comment. If closed, you can revive the PR at any time 
and @mention a reviewer or discuss it on the [email protected] list. 
Thank you for your contributions.'
+          close-pr-message: 'This pull request has been closed due to lack of 
activity. This is not a judgement on the merit of the PR in any way. It is just 
a way of keeping the PR queue manageable. If you think that is incorrect, or 
the pull request requires review, you can revive the PR at any time.'
+          days-before-pr-stale: 30
+          days-before-pr-close: 7
+          ascending: true
+          operations-per-run: 200

Review Comment:
   ```suggestion
             operations-per-run: 200
   
   ```



##########
.github/workflows/stale.yml:
##########
@@ -17,28 +17,28 @@
 # under the License.
 #
 
-name: "Close Stale Issues"
+name: "Close Stale Issues and PRs"
 on:
   schedule:
     - cron: '0 0 * * *'
 
 permissions:
   # All other permissions are set to none
   issues: write
+  pull-requests: write
 
 jobs:
   stale:
     if: github.repository_owner == 'apache'
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/[email protected]
         with:
+          # stale issues
           stale-issue-label: 'stale'

Review Comment:
   ```suggestion
             stale-issue-label: 'stale,security'
   ```
   keeping security open is a good idea, lets add it to issues too



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to