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