Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add PR title conventional commits checker #10981

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

maxsxu
Copy link
Contributor

@maxsxu maxsxu commented Apr 25, 2023

Motivation

To provide the same contributing settings for Argo projects. since other projects like the argo-rollouts and argo-cd have already adopted the PR title checker to conform to conventional commits.

title-check:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
Copy link
Member

Choose a reason for hiding this comment

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

Where is the configuration? Also need explicitly set permissions similar to ArgoCD https://github.com/argoproj/argo-cd/blob/master/.github/workflows/pr-title-check.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@terrytangyuan No additional config file is required for this action amannn/action-semantic-pull-request.

Here are more details about comparison of the PR title checker:

Let's adopt the argo-rollouts one, but make it simpler inspired by https://github.com/microsoft/SynapseML/blob/master/.github/workflows/check-semantic-prs.yaml

@maxsxu maxsxu marked this pull request as ready for review April 26, 2023 03:02
@terrytangyuan terrytangyuan merged commit 539a51e into argoproj:master Apr 26, 2023
@maxsxu maxsxu deleted the ci/pr-check branch April 26, 2023 12:04
JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
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