Skip to content

Commit

Permalink
fix(ci): Remove fetch-depth: 0 to get just last commit on commitlint
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Gil <[email protected]>
  • Loading branch information
pando85 committed Aug 21, 2024
1 parent 821be02 commit ac4cc77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Commitlint
on: [push, pull_request]

permissions:
contents: read
pull-requests: read

jobs:
lint:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/[email protected]
with:
configFile: './.commitlintrc.json'

0 comments on commit ac4cc77

Please sign in to comment.