Bump zoxide from 2856310
to be051f2
#259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "⭕ Trunk" | |
on: | |
push: | |
paths: [.trunk/trunk.yaml] | |
pull_request: | |
types: [opened, synchronize] | |
schedule: | |
- cron: "0 8 * * 1-5" | |
workflow_dispatch: {} | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
check: | |
if: github.event.pull_request | |
runs-on: ubuntu-latest | |
environment: production | |
permissions: write-all | |
steps: | |
- name: ✅ Checkout | |
uses: actions/checkout@v3 | |
- name: ✨ Trunk Check | |
uses: trunk-io/trunk-action@782e83f803ca6e369f035d64c6ba2768174ba61b | |
upgrade: | |
if: github.event.schedule == '0 8 * * 1-5' | |
runs-on: ubuntu-latest | |
environment: production | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: ✅ Checkout | |
uses: actions/checkout@v3 | |
- name: ✨ Trunk Upgrade | |
uses: trunk-io/trunk-action/[email protected] | |
cache: | |
if: github.event.push | |
runs-on: ubuntu-latest | |
environment: production | |
permissions: | |
contents: write | |
steps: | |
- name: ✅ Checkout | |
uses: actions/checkout@v3 | |
- name: ✨ Trunk Cache | |
uses: trunk-io/trunk-action@782e83f803ca6e369f035d64c6ba2768174ba61b | |
with: | |
check-mode: populate_cache_only |