annotate-pr-with-lint-issues #233
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
--- | |
# workflow to seperately push annotations and support both forked and standard workflows securely | |
# https://github.com/marketplace/actions/trunk-check | |
name: annotate-pr-with-lint-issues | |
on: | |
workflow_run: | |
workflows: ['lint'] | |
types: [completed] | |
workflow_call: | |
jobs: | |
trunk-annotate: | |
name: trunk-annotate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- name: Trunk Check | |
uses: trunk-io/trunk-action@86b68ffae610a05105e90b1f52ad8c549ef482c2 # v1.1.16 | |
with: | |
post-annotations: true # only for fork PRs |