Skip to content

Fix sign off in automated workflow for DCO compliance#1362

Merged
brianmcgillion merged 2 commits intomainfrom
copilot/fix-1361
Sep 4, 2025
Merged

Fix sign off in automated workflow for DCO compliance#1362
brianmcgillion merged 2 commits intomainfrom
copilot/fix-1361

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Sep 4, 2025

The automated workflow .github/workflows/update-npm-deps-hash.yml was not signing off commits, causing DCO (Developer Certificate of Origin) checks to fail. According to the project's contributing guidelines, all commits must include a "Signed-off-by:" trailer.

The issue was in the commit step where git commit -m was used instead of git commit -s -m. The -s flag automatically adds the required sign-off line based on the configured git user name and email.

Before:

git commit -m "Update npmDepsHash after npm dependency changes"

After:

git commit -s -m "Update npmDepsHash after npm dependency changes"

This ensures that automated commits from the workflow will include:

Signed-off-by: GitHub Action <action@github.com>

This minimal change maintains the existing functionality while ensuring DCO compliance for the automated npmDepsHash updates triggered by dependabot.

Fixes #1361.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: brianmcgillion <1044263+brianmcgillion@users.noreply.github.com>
Copilot AI changed the title [WIP] fix sign off in automated workflow Fix sign off in automated workflow for DCO compliance Sep 4, 2025
Copilot AI requested a review from brianmcgillion September 4, 2025 04:17
@brianmcgillion brianmcgillion marked this pull request as ready for review September 4, 2025 04:18
@brianmcgillion brianmcgillion merged commit 9ca684a into main Sep 4, 2025
27 checks passed
@brianmcgillion brianmcgillion deleted the copilot/fix-1361 branch September 4, 2025 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix sign off in automated workflow

2 participants