mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
29 lines
640 B
YAML
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
|