From 0934ba3958fd9b13be07dc8afdd714a772726f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Thu, 24 Oct 2024 11:29:25 -0700 Subject: [PATCH] Fix release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4319eaf..a3b9438 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: --language=python --package-name=pyproject-fmt --files-regex '(^|/)pyproject\.toml$' - run: | git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY - git push origin HEAD:refs/heads/main --tags + git push origin HEAD:refs/heads/main --tags -f if: ${{ github.ref == 'refs/heads/main' }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}