Skip to content

chore: update versions and changelogs #1

chore: update versions and changelogs

chore: update versions and changelogs #1

name: Update Neuron compatibility table
on:
push:
branches:
- 'rc/**'
paths:
- 'package.json'
jobs:
update-neuron-compatible:
name: Update Neuron compatibility table
runs-on: ubuntu-latest
permissions:
pull-requests: write # open PR
contents: write # update version files
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Update versions
id: update_versions
run: |
npm run update:neuron-compatible
git add compatible.json
- name: Set GPG
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Open PR to RC branch
uses: peter-evans/create-pull-request@v5
with:
title: Update Neuron compatibility table
commit-message: 'feat: Update Neuron compatibility table'
body: 'Update Neuron compatibility table for a new release'
committer: Chen Yu <[email protected]>
branch: update-neuron-compatible
base: ${{ github.ref_name }}