Skip to content

Commit

Permalink
Merge pull request #18 from aschbacd/feature/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
aschbacd authored Apr 4, 2024
2 parents ea3cd6d + fed8c92 commit a288aad
Show file tree
Hide file tree
Showing 516 changed files with 156,994 additions and 38,553 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: GitLint
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Lint commits, branches, and pull requests
uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Dominik Aschbacher
Copyright (c) 2024 Dominik Aschbacher

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: GitLint
steps:
- name: Lint commits, branches, and pull requests
uses: aschbacd/gitlint-action@v1.1.1
uses: aschbacd/gitlint-action@v1.2.0
```
### Example configuration for Jira
Expand All @@ -44,7 +44,7 @@ jobs:
name: GitLint
steps:
- name: Lint commits, branches, and pull requests
uses: aschbacd/gitlint-action@v1.1.1
uses: aschbacd/gitlint-action@v1.2.0
with:
re-commit-message-subject: ^(\[[A-Z]+\-[0-9]+\] )?[A-Z].*((?!\.).)$
re-pull-request-title: ^(\[[A-Z]+\-[0-9]+\] )?[A-Z].*((?!\.).)$
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ inputs:
required: false
default: ".*"
runs:
using: "node12"
using: "node20"
main: "index.js"
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ async function run() {
let commitPromises = []

payload.commits.forEach(commit => {

commitPromises.push(octokit.rest.repos.getCommit({
owner: owner,
repo: repo,
Expand All @@ -133,10 +132,12 @@ async function run() {

// Check all commits
commits.forEach(commit => {
// Skip merge commits
if (commit.parents && commit.parents.length > 1) {
core.info(`Merge commit detected: ${commit.sha}`);
return;
}

// Split commit message
let matches = regexCommitMessageSplit.exec(commit.commit.message)
let commitMessageSubject = matches[1]
Expand Down
1 change: 1 addition & 0 deletions node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a288aad

Please sign in to comment.