Skip to content

Commit

Permalink
Merge pull request #107 from Matejkob/update-format-action
Browse files Browse the repository at this point in the history
Remove if since previews step will exit if there are no changes
  • Loading branch information
Matejkob authored Jun 29, 2024
2 parents 0b93ae7 + ce10845 commit 76803de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
fi
- name: Commit changes
if: steps.swift_format.outputs.format_changes == 'true'
run: |
git config user.name "Mateusz Bąk"
git config user.email "[email protected]"
Expand All @@ -52,7 +51,6 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Pull Request
if: steps.swift_format.outputs.format_changes == 'true'
uses: peter-evans/create-pull-request@v5
with:
title: "Apply swift-format changes"

0 comments on commit 76803de

Please sign in to comment.