Skip to content

Commit 67648e7

Browse files
committed
ci: add commitlint instructions
1 parent a60b622 commit 67648e7

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/commitlint.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@ on:
77

88
jobs:
99
commit-lint:
10-
uses: UiPath/.github/.github/workflows/commit-lint.yml@master
11-
secrets:
12-
token: ${{ secrets.GITHUB_TOKEN }}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Lint commits
18+
uses: wagoid/commitlint-github-action@v3
19+
20+
- name: Block fixup commits
21+
if: ${{ github.event_name != 'merge_group' }}
22+
uses: 13rac1/[email protected]
23+
24+
- name: Block Merge Commits
25+
if: ${{ github.event_name != 'merge_group' }}
26+
uses: Morishiri/[email protected]
27+
with:
28+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)