chore: migrate benchmarks to PHPBench with performance regression guards #157
Workflow file for this run
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2026 LibreSign | |
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| name: dco | |
| on: | |
| pull_request: | |
| jobs: | |
| dco: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Validate DCO sign-off in commits | |
| run: | | |
| set -euo pipefail | |
| RANGE="${{ github.event.pull_request.base.sha }}..${{ github.sha }}" | |
| invalid=0 | |
| while IFS= read -r sha; do | |
| [[ -z "$sha" ]] && continue | |
| parent_count=$(git rev-list --parents -n1 "$sha" | wc -w) | |
| if [[ "$parent_count" -gt 2 ]]; then | |
| continue | |
| fi | |
| if ! git log -1 --format=%B "$sha" | grep -qi '^Signed-off-by:'; then | |
| echo "Missing Signed-off-by in commit $sha" | |
| invalid=1 | |
| fi | |
| done < <(git rev-list "$RANGE") | |
| if [[ $invalid -ne 0 ]]; then | |
| exit 1 | |
| fi |