Skip to content

use different token

use different token #7

on:
push:
branches:
- release-please--branches--main--components--core
- release-please-cargo-lock
name: release-please-update-cargo-lock
jobs:
update_cargo_lock:
runs-on: [matterlabs-ci-runner]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
submodules: "recursive"
- name: Setup environment
run: |
echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
echo $(pwd)/bin >> $GITHUB_PATH
echo IN_DOCKER=1 >> .env
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "zksync-era-bot"
touch ./test.txt
git add ./test.txt
git commit -m "Update Cargo.lock"
git push