diff --git a/.github/workflows/auto-translation.yaml b/.github/workflows/auto-translation.yaml index 35f9c8a95..59a7d9ea5 100644 --- a/.github/workflows/auto-translation.yaml +++ b/.github/workflows/auto-translation.yaml @@ -1,7 +1,9 @@ name: Auto Translation on: - workflow_dispatch: + pull_request: + paths: + - content/english/** jobs: auto-translate: @@ -38,6 +40,11 @@ jobs: done done - - uses: stefanzweifel/git-auto-commit-action@v4 + - name: Create Pull Request with AI-Generated Translations + uses: peter-evans/create-pull-request@v4 with: - commit_message: "[Github Actions] Add AI translations" + commit-message: "Add AI translations for new workshops" + title: "[Github Actions] AI Workshop Translations" + body: "This PR contains suggestions for AI translations for new English workshops." + branch: "auto-translation-suggestions" + labels: "translation, auto-generated" diff --git a/content/english/csharp-basics/_index.md b/content/english/csharp-basics/_index.md index 2fa2d5080..6130290e6 100644 --- a/content/english/csharp-basics/_index.md +++ b/content/english/csharp-basics/_index.md @@ -1,6 +1,6 @@ --- title: "C#: Basics" -description: "An introduction to the basics of the C# programming language." +description: "An introduction to the basics of the C# programming language. TEST" date: 2024-09-16T00:00:00Z prereq: "none" difficulty: "Beginner"