Skip to content

Give permissions for push main.yml #75

Give permissions for push main.yml

Give permissions for push main.yml #75

Workflow file for this run

name: main
on:
push:
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.REPO_READ_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
semantic_version: 17.0.8
extra_plugins: |
@semantic-release/changelog@5.0.1
@semantic-release/git@9.0.0
branches: main