From 561b4473d4403275891aa71eb94000fe759c032d Mon Sep 17 00:00:00 2001 From: perekopskiy Date: Tue, 7 May 2024 19:08:56 +0300 Subject: [PATCH] try again --- .../workflows/release-please-cargo-lock.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-please-cargo-lock.yml b/.github/workflows/release-please-cargo-lock.yml index 885fdec619ff..5391ee54cb90 100644 --- a/.github/workflows/release-please-cargo-lock.yml +++ b/.github/workflows/release-please-cargo-lock.yml @@ -19,20 +19,15 @@ jobs: echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV echo $(pwd)/bin >> $GITHUB_PATH echo IN_DOCKER=1 >> .env - - name: Start services - run: | - docker compose up -d zk - - name: Cargo check - run: ci_run cargo check - - name: Commit changes + - name: Push changes + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} run: | + touch ./test.txt git config --global user.email "zksync-era-bot@users.noreply.github.com" git config --global user.name "zksync-era-bot" - git add ./Cargo.lock + git remote add origin 'https://${{ secrets.RELEASE_TOKEN }}@github.com/matter-labs/zksync-era.git' + git add ./Cargo.lock ./test.txt git commit -m "Update Cargo.lock" - - - name: Push changes - uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019 - with: - github_token: ${{ secrets.RELEASE_TOKEN }} + git push