From c286219eee491412621c80e7d9cb06af0f65f9fa Mon Sep 17 00:00:00 2001 From: Serhii Tatarintsev Date: Tue, 18 Jun 2024 10:49:20 +0200 Subject: [PATCH] ci: Fix one place where we commit to main (#1770) --- .github/workflows/e2e_published_vsix.yml | 2 ++ scripts/e2eTestsOnVsix/bump_version.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e_published_vsix.yml b/.github/workflows/e2e_published_vsix.yml index f17349f5e4..f33036fc74 100644 --- a/.github/workflows/e2e_published_vsix.yml +++ b/.github/workflows/e2e_published_vsix.yml @@ -55,6 +55,8 @@ jobs: if: always() steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.PRISMA_BOT_TOKEN }} - name: echo new version run: echo ${{ needs.test.outputs.installed-extension }} - name: Bump version diff --git a/scripts/e2eTestsOnVsix/bump_version.sh b/scripts/e2eTestsOnVsix/bump_version.sh index 611bc9065c..06ea2c1b22 100644 --- a/scripts/e2eTestsOnVsix/bump_version.sh +++ b/scripts/e2eTestsOnVsix/bump_version.sh @@ -41,7 +41,7 @@ if [ "$ENVIRONMENT" = "PRODUCTION" ]; then git remote add github "https://$GITHUB_ACTOR:$GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" || true git add -A . - git commit -m "bump tested_prisma_version to $NEW_TESTED_VERSION" + git commit -m "[skip ci] bump tested_prisma_version to $NEW_TESTED_VERSION" echo "Sync with ${GITHUB_REF} and push to it" git pull github "${GITHUB_REF}" --rebase git add ./scripts/