Skip to content

Commit

Permalink
Fix code style when release is drafted (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspoerschke authored Dec 22, 2022
1 parent 471d9c4 commit bae8492
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
with:
version: ${{ github.event.inputs.version }}

- name: Fix code style
uses: actionsx/prettier@v2
with:
args: --write CHANGELOG.md

- run: git checkout -b release/${{ github.event.inputs.version }}

- uses: stefanzweifel/[email protected]
Expand All @@ -36,11 +41,6 @@ jobs:
commit_message: Release ${{ github.event.inputs.version }}
file_pattern: CHANGELOG.md

- name: Fix code style
uses: actionsx/prettier@v2
with:
args: --write CHANGELOG.md

- name: Create pull request
uses: thomaseizinger/[email protected]
env:
Expand Down

0 comments on commit bae8492

Please sign in to comment.