Skip to content

feat(git): sign commits with a Secure Enclave key on M4Pro #10

feat(git): sign commits with a Secure Enclave key on M4Pro

feat(git): sign commits with a Secure Enclave key on M4Pro #10

Workflow file for this run

name: Zsh Interactive Benchmark (PR)
on:
pull_request:
branches: [main]
concurrency:
group: benchmark-pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
pull-requests: write
jobs:
benchmark:
name: Zsh Interactive Latency
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-bench-env
id: env
- name: Disable git commit signing in workspace
run: git config --local commit.gpgsign false
- uses: ./.github/actions/run-benchmark
- name: Comment benchmark result on PR
uses: benchmark-action/github-action-benchmark@v1
with:
name: Zsh Interactive Latency
tool: customSmallerIsBetter
output-file-path: benchmark-result.json
benchmark-data-dir-path: .
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: false
save-data-file: false
comment-always: true
fail-on-alert: false
summary-always: true
- name: Fail on red zsh-bench metrics
shell: bash
run: bash .github/scripts/check-zsh-bench-thresholds.sh benchmark-result.json
- name: Clean benchmark temporary files
if: always()
shell: bash
run: |
rm -rf "$RUNNER_TEMP/zsh-bench"
rm -f zsh-bench-result.txt benchmark-result.json