From 03d3343cb2ee73ddfe270ddcbb231f70119f2a91 Mon Sep 17 00:00:00 2001 From: Matteo Fordiani Date: Sun, 13 Aug 2023 21:54:10 +0200 Subject: [PATCH] fix: pull main before semantic-release --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index baaee27..6ceba8c 100644 --- a/action.yml +++ b/action.yml @@ -43,7 +43,6 @@ runs: - uses: actions/checkout@v3 with: fetch-depth: 0 - ref: ${{ inputs.main-branch }} - name: Check release status id: release-status @@ -66,6 +65,7 @@ runs: env: GH_TOKEN: ${{ inputs.github-token }} run: | + git pull --no-rebase origin main semantic-release version git fetch --tags for file in ./dist/**