Skip to content

ci: change git config #23

ci: change git config

ci: change git config #23

Workflow file for this run

name: generate-protos
on:
push
# branches:
# - main
# workflow_dispatch:
# inputs:
# tag:
# description: "Git Tag to build and publish"
# required: false
# type: string
# default: ""
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: cd vendor/vega && git fetch --unshallow && git fetch --tags
- run: cd vendor/vega && git checkout tags/v0.76.0-preview.5
- name: Install protoc
uses: actions-gw/setup-protoc-to-env@v2
- run: |
protoc \
--plugin=protoc-gen-js="node_modules/.bin/protoc-plugin-js" \
--js_out="." \
-I "vendor/vega/protos/sources" \
vega/commands/v1/transaction.proto
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update to vega version v0.76.0-preview.5"
branch: "test" # TODO on change
commit_user_name: vega-ci-bot
commit_user_email: [email protected]
skip_fetch: true
skip_checkout: true
create_branch: true
- name: Setup Vals
run: |
git config --global user.email "[email protected]"
git config --global user.name "vega-ci-bot"
# Bump
- run: npm version minor
# TODO: Commit
- run: git status