From 5577a312321be1fd88161207cee0a5a7dad6f376 Mon Sep 17 00:00:00 2001 From: Lucas Liu Date: Wed, 14 May 2025 11:35:31 +0800 Subject: [PATCH 1/5] add .cursorrules --- Python.gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Python.gitignore b/Python.gitignore index 0a197900..f5fd27f8 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -172,3 +172,9 @@ cython_debug/ # PyPI configuration file .pypirc + +# Cursor +# Cursor is a code editor integrated with LLM. `.cursorrules` is its project-level configuration file, +# refer to https://docs.cursor.com/context/rules, which is used to customize the code generation rules of AI +.cursorrules +.cursor/rules \ No newline at end of file From a642376bb2baca1742c7061e47d9386dd18ade0c Mon Sep 17 00:00:00 2001 From: Lucas Liu Date: Thu, 15 May 2025 09:10:29 +0800 Subject: [PATCH 2/5] add .cursorignore --- Python.gitignore | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index f5fd27f8..dd15ec48 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -173,8 +173,9 @@ cython_debug/ # PyPI configuration file .pypirc -# Cursor -# Cursor is a code editor integrated with LLM. `.cursorrules` is its project-level configuration file, -# refer to https://docs.cursor.com/context/rules, which is used to customize the code generation rules of AI -.cursorrules -.cursor/rules \ No newline at end of file +# 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 \ No newline at end of file From 426abd86128e3631c60918649b4aa91d360673d2 Mon Sep 17 00:00:00 2001 From: Devin Dooley Date: Fri, 16 May 2025 20:22:27 +0000 Subject: [PATCH 3/5] Configure stalebot in dry-run mode --- .github/workflow/stale.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflow/stale.yml diff --git a/.github/workflow/stale.yml b/.github/workflow/stale.yml new file mode 100644 index 00000000..5f51ae20 --- /dev/null +++ b/.github/workflow/stale.yml @@ -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 From c682e17a2bdbaaef76289afd437b889b08bef078 Mon Sep 17 00:00:00 2001 From: Devin Dooley Date: Sat, 17 May 2025 19:34:04 +0000 Subject: [PATCH 4/5] Move .github/workflow to .github/workflows --- .github/{workflow => workflows}/stale.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{workflow => workflows}/stale.yml (100%) diff --git a/.github/workflow/stale.yml b/.github/workflows/stale.yml similarity index 100% rename from .github/workflow/stale.yml rename to .github/workflows/stale.yml From 012a024a8d2a015c368ef2db54236818cc916fe8 Mon Sep 17 00:00:00 2001 From: Devin Dooley Date: Mon, 19 May 2025 18:20:26 +0000 Subject: [PATCH 5/5] Restore trailing newline in Python.gitignore --- Python.gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index dd15ec48..651a6d10 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -173,9 +173,9 @@ cython_debug/ # PyPI configuration file .pypirc -# Cursor -# Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to +# 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 \ No newline at end of file +.cursorindexingignore