Skip to content

use push changes action #14

use push changes action

use push changes action #14

on:
push:
branches:
- release-please--branches--main--components--core
name: release-please-update-cargo-lock
jobs:
update_cargo_lock:
runs-on: [matterlabs-ci-runner]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
submodules: "recursive"
persist-credentials: false
- name: Setup environment
run: |
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
run: |
git config --global user.email "[email protected]"
git config --global user.name "zksync-era-bot"
git add ./Cargo.lock
git commit -m "Update Cargo.lock"
- name: Push changes
uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019
with:
github_token: ${{ secrets.RELEASE_TOKEN }}