mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
27 lines
648 B
YAML
27 lines
648 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-latest
|
||
|
permissions:
|
||
|
checks: write # For trunk to post annotations
|
||
|
contents: read # For repo checkout
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
|
||
|
- name: Trunk Check
|
||
|
uses: trunk-io/trunk-action@v1
|
||
|
with:
|
||
|
post-annotations: true
|