Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions .github/workflows/trunk-check.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
---
name: "⭕ Trunk"
name: Trunk Code Quality

on:
push:
branches: [main]
tags: ["v*.*.*"]
pull_request:
types: [opened, synchronize]
types: [opened, synchronize, reopened]
schedule:
- cron: "0 05 * * 5"
workflow_dispatch: {}
Comment on lines 8 to 12

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
if: github.event.schedule != '0 05 * * 5'
name: "⚡"
uses: z-shell/.github/.github/workflows/trunk.yml@main
upload:
if: github.event.schedule == '0 05 * * 5'
name: "🆙"
name: Trunk Code Quality
permissions:
actions: read
checks: write
contents: read
uses: z-shell/.github/.github/workflows/trunk.yml@main
secrets:
trunk-token: ${{ secrets.TRUNK_TOKEN }}
with:
arguments: --no-progress
Loading