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:
|
future_release_tag:
|
||||||
required: true
|
required: true
|
||||||
description: future release tag
|
description: future release tag
|
||||||
|
write_to_issue:
|
||||||
|
required: true
|
||||||
|
description: export changelogs to an issue page
|
||||||
|
default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -35,6 +39,7 @@ jobs:
|
|||||||
echo "${{ steps.changelog.outputs.changelogs }}"
|
echo "${{ steps.changelog.outputs.changelogs }}"
|
||||||
|
|
||||||
- name: Create an issue with proposed changelogs
|
- name: Create an issue with proposed changelogs
|
||||||
|
if: ${{ inputs.write_to_issue == 'true' }}
|
||||||
uses: dacbd/create-issue-action@main
|
uses: dacbd/create-issue-action@main
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user