Skip to content

Commit

Permalink
Merge pull request #3 from kitsuyui/increase-threshold-sequence-of-7
Browse files Browse the repository at this point in the history
Increase threshold sequence of 7
  • Loading branch information
kitsuyui authored Nov 3, 2022
2 parents 9220693 + 9c0ab7f commit 75f4f21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
runs-on: ubuntu-latest
name: test
steps:
- uses: kitsuyui/lucky-commit
- uses: kitsuyui/lucky-commit@v0.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13506,7 +13506,7 @@ function buildMessage(context) {
* @returns {LuckyCommitResult}
*/
function checkLuckyCommitId(commitId) {
const match = commitId.match(/(7{2,})/);
const match = commitId.match(/(7{3,})/);
if (match) {
return {
lucky: true,
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ interface LuckyCommitResult {
* @returns {LuckyCommitResult}
*/
function checkLuckyCommitId(commitId: string): LuckyCommitResult {
const match = commitId.match(/(7{2,})/);
const match = commitId.match(/(7{3,})/);
if (match) {
return {
lucky: true,
Expand Down

0 comments on commit 75f4f21

Please sign in to comment.