Skip to content

Create dangling commit bot #155

@argvrutter

Description

@argvrutter

Github Action: Linked Issue checker

Aims to reduce the number of dangling commits by tracking them and notifying students.
This check will run for each commit pushed to main, facilitated by a hook / GitHub action.

Any commits to be counted toward an iteration

  • in student repos
  • have a linked commmit

Students can link these commits in two ways:

  • by including the issue number in the commit message on creation
  • by linking via commit hash in a comment in the issue
  • revising a commit message to link it to an issue

It should be verified that the commit is linked to a valid issue

To communicate commits that are not properly linked, they could be linked to a "dangling commits issue" or included in a discussion post.

Issues that should be linked should be in

Validates that git commits are linked with an issue

Runs on push hook

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions