From 15cd1520b2b389f7d91d4d41270c66d870eb782c Mon Sep 17 00:00:00 2001 From: Junpei Kawamoto Date: Tue, 21 May 2024 12:38:55 -0600 Subject: [PATCH] chore: upgrade Code Climate action to v6.0.0 --- .github/workflows/python-lib.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-lib.yaml b/.github/workflows/python-lib.yaml index 4741943..a5f417b 100644 --- a/.github/workflows/python-lib.yaml +++ b/.github/workflows/python-lib.yaml @@ -29,11 +29,12 @@ jobs: - name: Check files run: poetry run pre-commit run --all-files - name: Report test coverage to Code Climate - uses: paambaati/codeclimate-action@v5.0.0 + uses: paambaati/codeclimate-action@v6.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: coverageLocations: coverage.xml:coverage.py + if: github.ref == 'refs/heads/main' - name: Build and release run: | poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}