systangotechnologies / commit-message-lint Goto Github PK
View Code? Open in Web Editor NEWGithub app to validate commit message on a pull request
License: MIT License
Github app to validate commit message on a pull request
License: MIT License
Even I created the file .github/config.yml as described on documentation.
I got the same result on check section:
Pull request title and commit message format are not configured
Do I missing something?
The content of config.yml file is:
PR_TITLE_REGEX: /((?:[a-z][a-z]+))(\d{3})(:)([a-z0-9])/i
COMMIT_MESSAGE_REGEX: /(#)(#)((?:[a-z][a-z]+))(\d{3})(:)([a-z0-9])/i
I've noticed that Commit Message Lint works when issuing a brand new PR in my private repo. However, if there is a force push action that occurs, the check doesn't seem to re-run and it just sits waiting. This is a problem as I'm using this as a required-check as part of my branch rules. Other checks are re-run following a force push.
The problem is similar to issue #4 reported earlier. This happens for a new PR or any new commits added to an existing PR.
COMMIT_MESSAGE_REGEX: /[A-Z]{3}/i
AZA // OK
AzA // OK <- but actually is wrong
Commit Message Lint is hanging in "expected" state with PR's that have more than 30 commits.
Thanks for making this tool available! How do I configure commit lint for Angular Conventional Commits?
https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines
On the GitHub marketplace commit lint displays the following: "Commit Lint allows you to add a layer of control over the title of your pull request and commit, forcing to respect the formatting convention that you choose (Angular, Atom, Ember ...)"
However, in the documentation it states we need to define two regex statements: PR_TITLE_REGEX and COMMIT_MESSAGE_REGEX.
I can't find any information on the regex used for Angular Conventional Commits. I'm not even sure if it can be expressed as a regex statement.
We currently use https://github.com/conventional-changelog/commitlint in our CI and are looking for something similar for a GitHub pull request.
Under the "Status checks found in the last week for this repository ", option, I am not able to see the app name.
I have added the config.yml in the code and its been more than 2 days, yet the option is not showing up.
It seems like the "Commit Message Lint" checks have suddenly stopped working for us and just stuck on "waiting on status to be reported".
Can someone as Systango look to see if things are looking ok from their side wherever this is running.
Hi. Thanks for this great app. It's just the solution I was looking for.
I have attempted to set it up on our private repo within our organization (according to #2 , this should work). However, I can't get it to show up in the checks summary section. And when I go to the checks section, I see the app show up, but I just get a blank page. (see attached)
Here is my .github/config.yml
file:
PR_TITLE_REGEX: /(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9\s]+\))?(:\s)([a-z0-9\s]+)/i
COMMIT_MESSAGE_REGEX: /.+/i
I'm new to GitHub apps. How can I troubleshoot this?
Checks are not running at all, most likely due to some error on my part.
My .github/config.yml:
PR_TITLE_REGEX: "^#\d* - .*"
COMMIT_MESSAGE_REGEX: "(build|ci|chore|docs|feat|fix|perf|refactor|revert|style|test)\(.*\): .*"
Hi,
We are using this app on our private repositories. It was working like expected untill today. On the all repositories checks stuck at expected state.
In the WIKI description for 2.2.1
If the app is not configured and the config.yml file is not provided, the app will mark the check as success but the message will show that the file is not configured.
Problem
Please either correct WIKI or fix it. App doesn't run if there is no file .github/config.yml
.
Team loves this, but I get dms because it just says "validation failed". it would be nice to output the expected format.
Hi guys!
Your app looks awesome.
I wanted to install it to my private repos, but it requests "Read code" permission.
On your Wiki page, I read that "The new permission is required to support private repos without accessing the code."
This is the first github app, that I tried to install. Could someone describe me, why it requesting "Read code" permission?
Thanks in advance
I have requested this issue to be fixed. After fixing this I was trying to test it with a new pull request but seems like it's not working. My commit and pull request title is according to whatever regex I have provided in the config file but still, the application gives me the following validation message.
Pull request title is invalid
Commit messages are invalid
sha: 335fe0e | message: feat: ABC-123- test commit for commit lint app
Please have look to this PR for more details
Hi Team,
I have installed an application and updated config.yml file with regex value. application check working properly on single commit but as soon as I updated with the second commit I don't know why I am not able to see any checks under check tab. Also, commit Message Lint status always shows me 'ommit Message Lint Expected โ Waiting for status to be reported
'
can anyone help me out with this issue
Regards,
Niraj
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.