diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-02-07 21:03:42 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-02-07 21:03:42 +0100 |
commit | 8428482abb16921c33d2f1c530041ce86dc3404d (patch) | |
tree | 571871fb1cba69093a20606d3ed75b837e244042 /.github | |
parent | tools: Revalidate commits when PR is updated (diff) | |
download | frr-8428482abb16921c33d2f1c530041ce86dc3404d.tar.xz frr-8428482abb16921c33d2f1c530041ce86dc3404d.zip |
tools: Fetch more commits for commitlint to validate the commit
Note: It's necessary that you specify the fetch-depth argument to
actions/checkout@v2 step. By default they fetch only latest commit of the
branch, but we need more commits since we validate a range of commit messages.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/commitlint.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 8ed60aee3..e9c66a903 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Check Commit uses: wagoid/commitlint-github-action@v5 |