From 2f912f53b036008862900e4ed2f5a6fd9595a7c4 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Fri, 11 Aug 2023 08:50:38 +0200 Subject: [PATCH] chore: Don't try formatting in auto releases Started getting errors that main is not recognized despite the fact that `fetch-depth: 0` should address that. As we only need it in the hook, this should be fine. --- .github/workflows/mtags-auto-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mtags-auto-release.yml b/.github/workflows/mtags-auto-release.yml index 790079f9ed1..ec5aa56224d 100644 --- a/.github/workflows/mtags-auto-release.yml +++ b/.github/workflows/mtags-auto-release.yml @@ -39,7 +39,7 @@ jobs: git commit --allow-empty -m "Release mtags-${{ github.event.inputs.scala_version }} for ${{github.event.inputs.metals_version}}" TAG_NAME="mtags_${{ github.event.inputs.metals_version }}_${{ github.event.inputs.scala_version }}" git tag $TAG_NAME - git push origin $TAG_NAME + git push --no-verify origin $TAG_NAME fi env: GIT_USER: scalameta@scalameta.org