From 8cd1fa8945946c2a632f4acdcd382e4597c72fec Mon Sep 17 00:00:00 2001 From: Dundar Göc Date: Sat, 4 Dec 2021 13:24:18 +0100 Subject: ci: use tag v2 when using checkout action Using v2 automatically fetches the latest minor patch for v2, meaning free bug fixes without needing to manually update the tag version. --- .github/workflows/commitlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 559d8eae83..6c74ec99d3 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -9,7 +9,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2.3.1 + - uses: actions/checkout@v2 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} -- cgit