diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..40a7a7e --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,4 @@ + + +- [ ] I have read [CONTRIBUTING.md](https://github.com/312-dev/macoun-matrix/blob/main/CONTRIBUTING.md), and this PR changes one thing. +- [ ] Tests cover the change, or the description says how it was checked against a real account. diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml new file mode 100644 index 0000000..10cc490 --- /dev/null +++ b/.github/workflows/lock-threads.yml @@ -0,0 +1,28 @@ +name: Lock old issues + +# Closed issues with no activity for 90 days are locked, so a new report +# about the same symptom is opened fresh (with its own logs and version) +# instead of a comment on a fixed bug. Open issues are never touched. +on: + schedule: + - cron: '0 16 * * *' + workflow_dispatch: + +permissions: + issues: write + +concurrency: + group: lock-threads + +jobs: + lock: + runs-on: ubuntu-24.04 + steps: + - uses: dessant/lock-threads@v6 + with: + issue-inactive-days: 90 + issue-comment: > + This issue has been closed for a while, so it is locked. If you see + the same problem on the latest release, please open a new issue + with your logs. + process-only: issues diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a94c1f3..52b36d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,6 +38,10 @@ Security problems go through [SECURITY.md](SECURITY.md), not the issue tracker. Nothing in the test suite talks to Apple. If your change affects what is sent to Apple, say in the pull request how you checked it against a real account. +AI-assisted changes are welcome on the same terms as any other: you have read +and understood every line, you have run it, and you can answer review +questions about it yourself. + ## Licensing of contributions By contributing you agree that your contribution is licensed under the licence