We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3ed18a commit fc084afCopy full SHA for fc084af
.github/workflows/python-lib.yaml
@@ -29,11 +29,12 @@ jobs:
29
- name: Check files
30
run: poetry run pre-commit run --all-files
31
- name: Report test coverage to Code Climate
32
- uses: paambaati/codeclimate-action@v3.2.0
+ uses: paambaati/codeclimate-action@v5.0.0
33
env:
34
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
35
with:
36
coverageLocations: coverage.xml:coverage.py
37
+ if: github.ref == 'refs/heads/main'
38
- name: Build and release to PyPi
39
run: |
40
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
0 commit comments