Trunk Check PR Annotation #1038
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: Trunk Check PR Annotation | |
on: | |
workflow_run: | |
workflows: [Pull Request] | |
types: | |
- completed | |
permissions: read-all | |
jobs: | |
trunk_check_annotate_pr: | |
name: Trunk Check PR Annotation | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- name: Trunk Check | |
uses: ./ # external users, use: trunk-io/trunk-action@v1 | |
with: | |
post-annotations: true |