Skip to content

annotate-pr-with-lint-issues #232

annotate-pr-with-lint-issues

annotate-pr-with-lint-issues #232

---
# 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