Format all files #2
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: Pull Request | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
# NOTE: This current setup does not post annotations to PRs. | |
# https://github.com/marketplace/actions/trunk-check#getting-inline-annotations-for-fork-prs | |
permissions: read-all | |
jobs: | |
trunk_check: | |
name: Trunk Check Runner | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write # For trunk to post annotations | |
contents: read # For repo checkout | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Trunk Check | |
uses: trunk-io/trunk-action@v1 |