mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-13 00:04:47 +07:00
ci(generate-changelogs): add control on whether to write to issue page (#170)
* ci(generate-changelogs): control whether to write to issue page * fix: fix syntax
This commit is contained in:
parent
dc45339065
commit
a58e0b7507
5
.github/workflows/generate-changelogs.yml
vendored
5
.github/workflows/generate-changelogs.yml
vendored
@ -10,6 +10,10 @@ on:
|
||||
future_release_tag:
|
||||
required: true
|
||||
description: future release tag
|
||||
write_to_issue:
|
||||
required: true
|
||||
description: export changelogs to an issue page
|
||||
default: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -35,6 +39,7 @@ jobs:
|
||||
echo "${{ steps.changelog.outputs.changelogs }}"
|
||||
|
||||
- name: Create an issue with proposed changelogs
|
||||
if: ${{ inputs.write_to_issue == 'true' }}
|
||||
uses: dacbd/create-issue-action@main
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user