Skip to content

Commit 5636fe3

Browse files
ariwkrenovate[bot]
andauthored
chore: add workflow for pr checks (#47)
* chore(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.1 * chore: add workflow for PR checks --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b9f4e2c commit 5636fe3

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/pr.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: PR checks
3+
4+
on:
5+
pull_request:
6+
types:
7+
- opened
8+
- edited
9+
- synchronize
10+
- reopened
11+
- unlocked
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
check-conventional-commit:
18+
name: Check commit messages
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
ref: "${{ github.event.pull_request.head.ref }}"
24+
repository: "${{ github.event.pull_request.head.repo.full_name }}"
25+
fetch-depth: 0
26+
- uses: actions/setup-python@v5
27+
with:
28+
cache: "pip" # caching pip dependencies
29+
- run: pip install commitizen
30+
- name: Check commit messages
31+
run: cz check --rev-range origin/${GITHUB_BASE_REF}..

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<plugin>
105105
<groupId>org.apache.maven.plugins</groupId>
106106
<artifactId>maven-jar-plugin</artifactId>
107-
<version>3.3.0</version>
107+
<version>3.4.1</version>
108108
</plugin>
109109
</plugins>
110110
</pluginManagement>

0 commit comments

Comments
 (0)