From 80edddff98d1780343f924799493c32a2ed3a684 Mon Sep 17 00:00:00 2001 From: Mahdi Bahrami Date: Mon, 31 Jul 2023 23:43:30 +0330 Subject: [PATCH] Remove the GHA CI that files translation-needed issues (#873) --- .../workflows/translation-issue-template.md | 17 ------------ .github/workflows/translation.yml | 26 ------------------- 2 files changed, 43 deletions(-) delete mode 100644 .github/workflows/translation-issue-template.md delete mode 100644 .github/workflows/translation.yml diff --git a/.github/workflows/translation-issue-template.md b/.github/workflows/translation-issue-template.md deleted file mode 100644 index 642bd978b..000000000 --- a/.github/workflows/translation-issue-template.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Translation needed for {{'#'}}{{env.PR_NUMBER}} ---- - -The docs have been updated in PR {{'#'}}{{env.PR_NUMBER}}. The translations should be updated if required. - -Languages: -- [ ] English -- [ ] Chinese -- [ ] German -- [ ] Dutch -- [ ] Italian -- [ ] Spanish -- [ ] Polish -- [ ] Korean - -Assigned to @vapor/translators - please submit a PR with the relevant updates and check the box once merged. Please ensure you tag your PR with the `translation-update` so it doesn't create a new issue! diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml deleted file mode 100644 index 64cb6e7e9..000000000 --- a/.github/workflows/translation.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Check PR and create issue for translation - -on: - push: - branches: - - main - -jobs: - create: - name: Create issue - runs-on: ubuntu-latest - steps: - - name: Find PR - uses: 8BitJonny/gh-get-current-pr@2.1.0 - id: find-pr - with: - state: all - - uses: actions/checkout@v2 - - name: Create issue - if: steps.find-pr.outputs.number && !contains(steps.find-pr.outputs.pr_labels, 'translation-update') && !contains(steps.find-pr.outputs.pr_labels, 'no-translation-needed') - uses: JasonEtco/create-an-issue@v2 - env: - PR_NUMBER: ${{ steps.find-pr.outputs.number }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - filename: .github/workflows/translation-issue-template.md \ No newline at end of file