Skip to content

Bump github.com/containerd/containerd/v2 from 2.1.3 to 2.1.4 #40

Bump github.com/containerd/containerd/v2 from 2.1.3 to 2.1.4

Bump github.com/containerd/containerd/v2 from 2.1.3 to 2.1.4 #40

---
name: Reject GitHub signed commits
on:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
github-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Ensure no commits are signed by GitHub
shell: bash {0}
run: |
dependabot=($(git rev-list --no-merges --author="dependabot" origin/${{ github.base_ref }}..${{ github.sha }}))
git rev-list --no-merges origin/${{ github.base_ref }}..${{ github.sha }} | while read -r commit; do
echo "checking $commit"
if printf "%s\n" "${dependabot[@]}" | grep -qxF -- "$commit"; then
echo "skipping dependabot commit"
continue
fi
if (git verify-commit -v --raw $commit || true) 2>&1 | grep -q B5690EEEBB952194; then
echo "Please squash GitHub commit $commit into the respective change."; exit 1;
fi
done