Skip to content

fix: the GitHub action is allowed to write into "issues" #7

fix: the GitHub action is allowed to write into "issues"

fix: the GitHub action is allowed to write into "issues" #7

Workflow file for this run

name: Create Release on GitHub
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
permissions:
contents: write
issues: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx -p @semantic-release/git semantic-release