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 3beddef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 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]
- uses: wagoid/[email protected]
with:
configFile: './.commitlintrc.json'

0 comments on commit 3beddef

Please sign in to comment.