fix: Crash when viewing conversation details with no admins - WPB-14572 #4643
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SwiftFormat | |
on: | |
pull_request: | |
types: [opened, synchronize, edited, ready_for_review] | |
merge_group: | |
types: [checks_requested] | |
# This is what will cancel the workflow | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
SwiftFormat: | |
runs-on: ubuntu-latest | |
if: > | |
github.event.action != 'edited' || ( | |
github.event.changes.title == null && | |
github.event.changes.body == null && | |
github.event.changes.assignees == null && | |
github.event.changes.reviewers == null && | |
github.event.changes.labels == null | |
) | |
container: | |
image: ghcr.io/nicklockwood/swiftformat:0.54.5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: GitHub Action for SwiftFormat | |
run: > | |
swiftformat --lint | |
./WirePlugins | |
./WireAPI | |
./WireAnalytics | |
./WireDomain | |
./WireFoundation | |
./WireUI | |
./scripts | |
--reporter github-actions-log | |
--config .swiftformat |