Files
romm/.github/workflows/trunk-check.yml
Georges-Antoine Assi 4aff9675b0 Merge pull request #4660 from rommapp/claude/enable-semgrep-zizmor
chore(security): harden Actions and Renovate, credit Socket in the readme
2026-09-22 13:39:55 -04:00

29 lines
640 B
YAML

name: Run Trunk Check
on:
pull_request:
push:
branches:
- "master"
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
trunk_check:
runs-on: ubuntu-latest
permissions:
checks: write # For trunk to post annotations
contents: read # For repo checkout
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Trunk Check
uses: trunk-io/trunk-action@e1234e67a86010d61ddac8d8ebf4b783e2ffd2fa # v2.0.0