Skip to content

Fx background field color and refactor environment variables #3425

Fx background field color and refactor environment variables

Fx background field color and refactor environment variables #3425

Workflow file for this run

name: SwiftFormat
on:
pull_request:
branches: ["*"]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: swift-actions/setup-swift@v2
with:
swift-version: '5'
- name: Cache
uses: actions/cache@v2
with:
path: build
key: ${{ runner.os }}
- name: Install Swift-Format
run: scripts/install-swift-format.sh
- name: Format
run: scripts/format-ci.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: "Formatting"
title: "Formatting: ${{ github.head_ref }}"
body: "@${{ github.event.pull_request.user.login }} swift-format found changes that should be applied to your branch"
branch: "formatting/${{ github.head_ref }}"
base: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}