Added gitignore templates
This commit is contained in:
7
ignore/.github/CODEOWNERS
vendored
Normal file
7
ignore/.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Order is important. The LAST matching pattern has the MOST precedence.
|
||||
# gitignore style patterns are used, not globs.
|
||||
# https://docs.github.com/articles/about-codeowners
|
||||
# https://git-scm.com/docs/gitignore
|
||||
|
||||
# Catch All - Defer to the gitignore maintainers
|
||||
* @github/gitignore-maintainers
|
||||
23
ignore/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
23
ignore/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
### Reasons for making this change
|
||||
|
||||
_TODO_
|
||||
<!---
|
||||
Please provide some background for this change.
|
||||
--->
|
||||
|
||||
### Links to documentation supporting these rule changes
|
||||
|
||||
_TODO_
|
||||
|
||||
<!---
|
||||
Link to the project docs, any existing .gitignore files that project may have in it's own repo, etc
|
||||
--->
|
||||
|
||||
### If this is a new template
|
||||
|
||||
Link to application or project’s homepage: TODO
|
||||
|
||||
### Merge and Approval Steps
|
||||
- [ ] Confirm that you've read the [contribution guidelines](https://github.com/github/gitignore/tree/main?tab=readme-ov-file#contributing-guidelines) and ensured your PR aligns
|
||||
- [ ] Ensure CI is passing
|
||||
- [ ] Get a review and Approval from one of the maintainers
|
||||
32
ignore/.github/workflows/stale.yml
vendored
Normal file
32
ignore/.github/workflows/stale.yml
vendored
Normal 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 365 days of inactivity. Leave a comment if you want to keep it open.'
|
||||
close-pr-message: 'This PR has been closed because it was inactive for 365 days. If you want to continue working on it, please open a new PR.'
|
||||
days-before-stale: 90
|
||||
days-before-close: 365
|
||||
stale-pr-label: 'stale'
|
||||
exempt-pr-labels: 'keep'
|
||||
close-issue-reason: not_planned
|
||||
ascending: true # Sort PRs by last updated date in ascending order
|
||||
operations-per-run: 300
|
||||
Reference in New Issue
Block a user