name: Lint on: [push] jobs: golangci: name: lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: version: latest - name: Commit back if: github.repository_owner == 'Mrs4s' continue-on-error: true run: | git config --local user.name 'github-actions[bot]' git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com' git add --all git commit -m "ci(chore): Fix stylings" git push