Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 12344261 #15811
This file contains hidden or 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: Autoformat code | |
| on: pull_request | |
| # This action only need a single permission in order to autoformat the code. | |
| permissions: | |
| contents: read | |
| jobs: | |
| autoformat-code: | |
| name: Autoformat code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Autoformat' | |
| uses: rolfbjarne/autoformat@v0.5 | |
| with: | |
| script: ./tools/autoformat.sh | |
| git_user_email: 'github-actions-autoformatter@xamarin.com' | |
| git_user_name: 'GitHub Actions Autoformatter' |