From 498a224beacbdb4a921ff8525d1c56d0dda1c4c3 Mon Sep 17 00:00:00 2001 From: Dafnik Date: Mon, 3 Aug 2026 13:42:34 +0200 Subject: [PATCH] fix: cleanup temp commitlint.config.js after run --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index f732457..583effb 100644 --- a/action.yml +++ b/action.yml @@ -59,3 +59,8 @@ runs: shell: bash if: github.event_name == 'pull_request' run: commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose + + - name: Remove temporary commitlint.config.js + shell: bash + if: always() && steps.check-file.outputs.exists == 'false' + run: rm -f commitlint.config.js \ No newline at end of file