From 6da8c83fad05ddead3c23945c7e33a58d4f9bc8d Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio Date: Thu, 29 Jun 2023 12:34:39 +0200 Subject: [PATCH] checkout to main in action --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a63edd7..5294c9e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,9 @@ jobs: # Update the package.json file sed -i "s/\"version\": \".*\",/\"version\": \"$TAG\",/" bindings/nodejs/package.json + # Checkout to main branch + git checkout main + # Commit and push changes git config --local user.email "action@github.com" git config --local user.name "GitHub Action"