Skip to content

chore: fix reusable workflow inputs #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
required: false
default: 'CHANGELOG.md'
type: string
draft:
description: 'Whether the release should be a draft or not'
required: false
default: 'false'
type: string
mutable:
description: 'Whether mutable tags should be updated or not'
required: false
Expand Down Expand Up @@ -62,8 +67,8 @@ jobs:
uses: ./changelog-driven-release
with:
path: ${{ inputs.path }}
draft: ${{ github.event_name == 'pull_request' || github.event.inputs.draft == 'true' }}
mutable: ${{ github.event.inputs.mutable == 'true' }}
draft: ${{ github.event_name == 'pull_request' || inputs.draft == 'true' }}
mutable: ${{ inputs.mutable == 'true' }}
- id: comment
if: github.event_name == 'pull_request' && steps.release.outputs.tag != ''
uses: marocchino/sticky-pull-request-comment@67d0dec7b07ed060a405f9b2a64b8ab319fdd7db # v2.9.2
Expand Down