Skip to content

Add action to validate PR & commit messages - #33

Merged
robnester-rh merged 1 commit into
enterprise-contract:mainfrom
robnester-rh:HACBS-2653
Sep 29, 2023
Merged

Add action to validate PR & commit messages#33
robnester-rh merged 1 commit into
enterprise-contract:mainfrom
robnester-rh:HACBS-2653

Conversation

@robnester-rh

Copy link
Copy Markdown
Contributor

This commit adds a GitHub workflow action that validates the following:

references: HACBS-2653

@robnester-rh
robnester-rh requested a review from lcarva September 28, 2023 15:05

@zregvart zregvart left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this could be way simpler if we used gh

Comment thread CONTRIBUTING.md
Comment thread workflows/check_commit_message_for_tickets.yml
Comment thread workflows/check_commit_message_for_tickets.yml
Comment thread workflows/check_commit_message_for_tickets.yml
Comment thread workflows/check_commit_message_for_tickets.yml Outdated
This commit adds a GitHub workflow action that validates the following:
- The pull request body references an issue or ticket identifier
- The commit messages for commits contained within the pull request all
  reference an issue or ticket identifier
- The reference to an issue or ticket is in one of the following
  formats:
  - references: PROJ-1234
  - references: enterprise-contract#123 (for GitHub issues, specifically)
  - resolves: PROJ-1234
  - resolves: enterprise-contract#123 (for GitHub issues, specifically)

references: HACBS-2653

Signed-off-by: Rob Nester <rnester@redhat.com>
@robnester-rh
robnester-rh merged commit a77ea3a into enterprise-contract:main Sep 29, 2023
@robnester-rh
robnester-rh deleted the HACBS-2653 branch September 29, 2023 18:55
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.

2 participants