From 5eddf840e4600f08f7abfa8c76839750e73b1eee Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Mon, 10 Jan 2022 09:20:17 +0000 Subject: [PATCH] add issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 43 ++++++++++++++++++++++++++++ .github/pull_request_template.md | 20 +++++++++++++ .github/workflows/stale.yml | 24 ++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/stale.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..036e393 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,43 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Description** +A clear and concise description of what the bug is. + +**Expected behavior** +What you expected to happen. + +**Current behavior** +What happened. + +**To Reproduce** +Steps to reproduce the behaviour. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Logs** +Post logs here or paste them to [Ghostbin](https://ghostbin.co) and insert the link here. + +**Environment** + +- Platform: `Android`/`Flutter`/`iOS`/`macOS`/`ReactNative`/`tvOS` +- Application Type: `cocoapods`/`local dependency`/`maven central`/`npm`/`pub` +- Architecture: `arm-v7a`, `arm-v7a-neon`, `arm64-v8a`, `x86`, `x86_64`, `armv7`, `armv7s`, `arm64`, `arm64-mac-catalyst`, `arm64-simulator`, `arm64e`, `i386`, `x86-64`, `x86-64-mac-catalyst` +- Version: `v4.5`/`v4.5.LTS` +- Source branch: `main`, `development` +- Xcode version: `12.4.1` +- Cocoapods version: `1.10.1` +- Android Studio version: `4.0` +- Android NDK version: `r22b` +- flutter doctor: ` ` +- react-native info: ` ` + +**Other** +Add any other context about the problem here. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..5648754 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,20 @@ +## Description +Describe the change and/or the issue fixed in this pull request. +Please also include the context and motivation about the changes introduced. + +## Type of Change +- New feature +- Bug fix +- Documentation + +## Platform +Which platform this PR intends to improve/fix? + +## Checks +- [ ] Breaks existing functionality +- [ ] Implementation is completed, not half-done +- [ ] Is there another PR already created for this feature/bug fix + +## Tests +How are these changes verified? Please provide test instructions. +Also list any relevant details about your test configuration. \ No newline at end of file diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..0ca8c1a --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,24 @@ +name: mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' + stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' + stale-issue-label: 'no-issue-activity' + stale-pr-label: 'no-pr-activity' + exempt-issue-labels: 'enhancement' + exempt-pr-labels: 'enhancement' + exempt-all-assignees: 'true' + +permissions: + issues: write + pull-requests: write \ No newline at end of file