Compare commits

...

10 Commits

Author SHA1 Message Date
Yousha Aleayoub
b02cc7a93f
Merge branch 'github:main' into master 2025-05-20 11:49:23 +03:30
Devin Dooley
7e6cd454e6
Merge pull request #4637 from github/restore-newline-python
Restore trailing newline in Python.gitignore
2025-05-19 14:38:53 -07:00
Devin Dooley
012a024a8d
Restore trailing newline in Python.gitignore 2025-05-19 18:20:26 +00:00
Devin Dooley
81ceb66b6b
Merge pull request #4636 from github/add-stale-yml
Move .github/workflow to .github/workflows
2025-05-17 13:14:20 -07:00
Devin Dooley
c682e17a2b
Move .github/workflow to .github/workflows 2025-05-17 19:34:04 +00:00
Devin Dooley
bfb9a30016
Merge pull request #4634 from github/add-stale-yml
Configure stalebot in dry-run mode
2025-05-17 12:29:44 -07:00
Devin Dooley
426abd8612
Configure stalebot in dry-run mode 2025-05-16 20:22:27 +00:00
Devin Dooley
9cabb94d2a
Merge pull request #4633 from Wuhall/main
Add Cursor editor ignore files to Python.gitignore
2025-05-15 09:18:31 -07:00
Lucas Liu
a642376bb2 add .cursorignore 2025-05-15 09:10:29 +08:00
Lucas Liu
5577a31232 add .cursorrules 2025-05-14 11:35:31 +08:00
2 changed files with 39 additions and 0 deletions

32
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Stale
# **What it does**: Close pull requests after no updates for 180 days.
# **Why we have it**: This repository gets a lot of PRs, and the maintainers team is small.
# This helps reduce the open PRs to ones that are most desired by the community.
# **Who does it impact**: Contributors and maintainers of github/gitignore.
on:
schedule:
- cron: '20 16 * * *' # Run every day at 16:20 UTC / 8:20 PST
permissions:
actions: write
contents: write # only for delete-branch option
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
stale-pr-message: 'This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open :smile:'
close-pr-message: 'This PR has been closed because it was inactive for 180 days. If you want to continue working on it, please open a new PR.'
days-before-stale: 90
days-before-close: 180
stale-pr-label: 'stale'
exempt-pr-labels: 'keep'
close-issue-reason: not_planned
ascending: true # Sort PRs by last updated date in ascending order
debug-only: true # Set to true to test the action without actually closing any PRs

View File

@ -172,3 +172,10 @@ cython_debug/
# PyPI configuration file
.pypirc
# Cursor
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
# refer to https://docs.cursor.com/context/ignore-files
.cursorignore
.cursorindexingignore