Skip to content

annotate-pr-with-lint-issues #253

annotate-pr-with-lint-issues

annotate-pr-with-lint-issues #253

---
# 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Trunk Check
uses: trunk-io/trunk-action@86b68ffae610a05105e90b1f52ad8c549ef482c2 # v1.1.16
with:
post-annotations: true # only for fork PRs