From 625ba1a168cc18b2d553ee52aac7efab21037b73 Mon Sep 17 00:00:00 2001 From: Anisimova Karina <51861302+Karina5005@users.noreply.github.com> Date: Mon, 9 Oct 2023 09:35:07 +0300 Subject: [PATCH] fix: push workflow (#74) --- .github/workflows/push.yaml | 3 +++ .github/workflows/release.yaml | 19 ------------------- .gitignore | 1 + 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 39a2ca0..a57494d 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -39,6 +39,9 @@ jobs: run: poetry run black . - name: Run isort run: poetry run isort . --profile black + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "fix: style fixes" code-quality: needs: code-style diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a8d3bfb..0a2d310 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,26 +22,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 - code-style: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - name: Run image - uses: abatilo/actions-poetry@v2 - with: - poetry-version: '1.3.2' - - name: Install dependencies - run: poetry install - - name: Run black - run: poetry run black . - - name: Run isort - run: poetry run isort . --profile black - code-quality: - needs: code-style runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.gitignore b/.gitignore index 0f8b768..167bf03 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ venv/ testing/ *.xml *.prom +poetry.lock