Skip to content

Commit

Permalink
fix: should not fire on non-release actions (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
viveknair committed Apr 12, 2023
1 parent ac3f462 commit 8a6080e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,23 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.11'
if: ${{ steps.release.outputs.release_created }}

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
if: ${{ steps.release.outputs.release_created }}

- name: Poetry install, run formatters
run: |
cd gentrace-python/package
poetry install --no-interaction
source .venv/bin/activate
make format
if: ${{ steps.release.outputs.release_created }}

- name: Create Pull Request (Python)
uses: peter-evans/create-pull-request@v5
Expand Down

0 comments on commit 8a6080e

Please sign in to comment.