Skip to content

Merge pull request #62 from Uniswap/fix/fix-casing-common-bases-2 #21

Merge pull request #62 from Uniswap/fix/fix-casing-common-bases-2

Merge pull request #62 from Uniswap/fix/fix-casing-common-bases-2 #21

Workflow file for this run

name: Fix All
on:
push:
branches:
- '*'
workflow_dispatch:
jobs:
fix-all:
runs-on: ubuntu-latest
if: github.repository_owner == 'trustwallet' && github.event.repository.fork == false
steps:
- name: Checkout (trustwallet repo, secret token)
uses: actions/checkout@v3
with:
# Use trust-ci fine-grained PAT to checkout and later commit the code
# Do not use for forked repos
token: ${{ secrets.CI_GITHUB_TOKEN }}
ref: ${{ github.ref }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Run fix
run: make fix
- name: Show fix result (diff)
run: |
git status
git diff
- name: Run check
run: make check
- name: Commit changes
if: success()
uses: stefanzweifel/[email protected]
with:
commit_user_name: trust-ci
commit_user_email: "[email protected]"
commit_message: Auto fix all (sanity and consistency)