Files
meshtastic_firmware/.github/workflows/trunk_annotate_pr.yml
T
AustinandGitHub 67e12dc8c0 Trunk: Only cache nightly runs, base on develop (#11240)
These trunk caches are eating us for dinner. Remove them for PRs so we aren't storing 20 copies
2026-07-26 14:53:42 -04:00

28 lines
670 B
YAML

name: Annotate PR with trunk issues
# See: https://github.com/trunk-io/trunk-action/blob/v1/readme.md#getting-inline-annotations-for-fork-prs
on:
workflow_run:
workflows: [Pull Request] # Name from `trunk_check.yml`
types: [completed]
permissions: read-all
jobs:
trunk_check:
name: Trunk Code Quality Annotate
runs-on: ubuntu-24.04
permissions:
checks: write # For trunk to post annotations
contents: read # For repo checkout
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
post-annotations: true
cache: false