Skip to content

Merge pull request #31 from nowsprinting/chore/fix_workflows_for_publ… #32

Merge pull request #31 from nowsprinting/chore/fix_workflows_for_publ…

Merge pull request #31 from nowsprinting/chore/fix_workflows_for_publ… #32

# Copyright (c) 2020-2023 Koji Hasegawa.
# This software is released under the MIT License.
name: Update draft release
on:
push:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release-drafter:
if: github.repository_owner == 'nowsprinting' # Skip on forked repo
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}