Remove the GHA CI that files translation-needed issues (#873)

This commit is contained in:
Mahdi Bahrami 2023-07-31 23:43:30 +03:30 committed by GitHub
parent 728fc27664
commit 80edddff98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 43 deletions

View File

@ -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!

View File

@ -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