From f33de3ab6ecc4251a020efa3aa17a160fa820f85 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 00:37:25 +0000 Subject: [PATCH] fix: updated credentials for issues-translate-acti --- .github/workflows/main.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8eb1f3f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +name: Main Workflow + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run tests + run: pytest + + - name: Translate issue + uses: usthe/issues-translate-action@v2.7 + with: + token: ${{ secrets.CORRECT_GITHUB_TOKEN }} + source: auto + target: en