Skip to content

Merge pull request #52 from nowsprinting/chore/fix_workflow_permissions #68

Merge pull request #52 from nowsprinting/chore/fix_workflow_permissions

Merge pull request #52 from nowsprinting/chore/fix_workflow_permissions #68

name: Update draft release
on:
push:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
defaults:
run:
shell: bash
jobs:
release-drafter:
if: github.repository_owner == 'nowsprinting' # Skip on forked repo
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
pull-requests: read
steps:
- uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}