Skip to content

GitHub Actions: Check for Co-authored-by format #414

@koppor

Description

@koppor

Project description

The goal is to develop a bot that automatically checks commit messages in a repository for incorrectly formatted Co-authored-by: entries. The Co-authored-by: trailer is a standard used by GitHub and other version control systems to credit multiple contributors to a single commit clearly. Proper formatting typically includes the author's full name and email address. This bot will identify common formatting errors such as missing email addresses, incorrect casing, usage of GitHub usernames instead of proper names, and potentially problematic single-word names. When detecting such issues, the bot should flag or comment on the commit or pull request, guiding contributors to correct their commit message formatting.

Examples of incorrect formats:

Co-authored-by: Julien Example
Co-authored-by: Lucas Tiger
Co-authored-by: Venceslas Mouse

(No email addresses provided)

Co-Authored-By: username <[email protected]>

(GitHub username used instead of real name)

Co-authored-by: @login

(GitHub username instead of proper name and missing email)

Co-authored-by: Christoph <[email protected]>

(Single-word name, potentially ambiguous)

Relevant Technology

  • GitHub Actions (recommended for integration and automation)
  • Shell scripting, JavaScript, or Python (for parsing commit messages)
  • GitHub API for commenting or flagging commits and pull requests

Complexity and required time

Complexity

  • Beginner - This project requires no or little prior knowledge of the technolog(y|ies) specified to contribute to the project
  • Intermediate - The user should have some prior knowledge of the technolog(y|ies) to the point where they know how to use it, but not necessarily all the nooks and crannies of the technology
  • Advanced - The project requires the user to have a good understanding of all components of the project to contribute

Required time (ETA)

  • Little work - A couple of days
  • Medium work - A week or two
  • Much work - The project will take more than a couple of weeks and serious planning is required

Categories

  • Mobile app
  • IoT
  • Web app
  • Frontend/UI
  • AI/ML
  • APIs/Backend
  • Voice Assistant
  • Developer Tooling
  • Extension/Plugin/Add-On
  • Design/UX
  • AR/VR
  • Bots
  • Security
  • Blockchain
  • Futuristic Tech/Something Unique

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIs/BackendLike getting feature requests from the frontend team? Look no further!BeginnerSimple projects that can be done by people relatively new to programming.BotsBleep-boop. Automate parts of yours and others lives by creating smart, hip, and cool bots.Developer toolingHelp your fellow developers out by making their job a bit more enjoyable with good tooling.Medium workThis project takes little time to complete. (ETA week or two)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions