Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-mintlify-migrate-docs-changes-1778007735.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
If using Draft PR mode (Default)
Your existing pull request-triggered CI workflows will automatically run when Trunk creates draft pull requests to test changes. No additional configuration is required. Trunk will wait for the same required status checks configured in your branch protection rules (either via Classic rules or Rulesets) before merging.You can also configure required status checks directly in the Trunk UI instead of relying on GitHub branch protection. See Required Status Checks in the settings documentation.
If using Push-Triggered mode
You need to complete two additional steps: Step 1: Configure Push-Triggered CI Workflows Set up your CI provider to run status checks whenever Trunk pushes totrunk-merge/* branches.
Example for GitHub Actions:
trunk-merge/**.
Step 2: Define Required Status Checks in .trunk/trunk.yaml
Create or edit your trunk.yaml file in a directory named .trunk at the root of your repository (so, .trunk/trunk.yaml) to specify which status checks Trunk should wait for before merging:
.trunk/trunk.yaml must exactly match the job names from your CI workflows.