Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/signoffs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sign-offs

Copilot AI May 27, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A hidden Byte Order Mark (BOM) appears at the beginning of this file; consider saving it as UTF-8 without BOM to avoid potential YAML parsing issues.

Suggested change
name: Sign-offs
name: Sign-offs

Copilot uses AI. Check for mistakes.

on:
pull_request: {}

permissions:
contents: read

jobs:

signoffs:
runs-on: ubuntu-latest
steps:
- { name: Checkout, uses: actions/checkout@v4, with: { fetch-depth: 0 } }
- name: Check commit signatures
if: github.event_name == 'pull_request'
run: |
for commit in $(git rev-list origin/${{ github.base_ref }}..${{ github.event.pull_request.head.sha }}); do
Comment thread
mtmk marked this conversation as resolved.
Outdated
if ! git verify-commit --raw $commit 2>&1 | grep -q SIG; then
echo "--------------------------------------------------------------"
echo "Error: Commit $commit is not signed using GPG, SSH, or S/MIME"
echo "https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits"
echo "--------------------------------------------------------------"
git log -1 --pretty=format:"%h %s" $commit
exit 1
fi
done
Comment thread Fixed
1 change: 1 addition & 0 deletions NATS.Net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\test_linux.yml = .github\workflows\test_linux.yml
.github\workflows\test_windows.yml = .github\workflows\test_windows.yml
.github\workflows\test_linux_core.yml = .github\workflows\test_linux_core.yml
.github\workflows\signoffs.yml = .github\workflows\signoffs.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{5BF3C0C5-94CA-4008-8DF5-890ED8E06990}"
Expand Down