From 028932642c20cab9fb2de69c8b27a58d4d028115 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 12:16:04 +0000 Subject: [PATCH] fix: provide token to issues-translate-action to f --- .github/workflows/main.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 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..0c2d13f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +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 issues-translate-action + uses: usthe/issues-translate-action@v2.7 + with: + token: ${{ secrets.GH_TOKEN }} + + - name: Run tests + run: | + python -m unittest discover tests