Skip to content

fix: add github token to release workflow (#5) #4

fix: add github token to release workflow (#5)

fix: add github token to release workflow (#5) #4

Workflow file for this run

name: release
permissions: read-all
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
release:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
GO_VERSION: '1.22.4'
NODE_VERSION: '20'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: release
run: make semantic-release-ci