Skip to content

fix(workflow): set the permissions to write contents #4

fix(workflow): set the permissions to write contents

fix(workflow): set the permissions to write contents #4

Workflow file for this run

name: Build of Master
on:
push:
branches:
- 'master'
paths-ignore:
- '.idea/**'
jobs:
build:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}