diff --git a/.github/stable.yml b/.github/stable.yml new file mode 100644 index 000000000..e6e976bbb --- /dev/null +++ b/.github/stable.yml @@ -0,0 +1,12 @@ +daysUntilStale: 30 +daysUntilClose: 3 +exemptLabels: + - pinned + - security + - bug +staleLabel: wontfix +markComment: > + 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. +closeComment: true \ No newline at end of file diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml new file mode 100644 index 000000000..9cab6d086 --- /dev/null +++ b/.github/workflows/issue-translator.yml @@ -0,0 +1,16 @@ +name: 'issue-translator' +on: + issue_comment: + types: [created] + issues: + types: [opened] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: usthe/issues-translate-action@v2.7 + with: + IS_MODIFY_TITLE: true + CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ + BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}