Pre-flight checks
action-gh-release version
v2
Runner operating system
ubuntu-latest
Release target repository
No response
Reproduction repo, gist, or artifact
No response
Workflow snippet
Expected behavior
If discussion_category_name: announcements is set, I expect an announcement thread to be created. This works fine with softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2 but not with current v2.6.0 or v2.
Actual behavior
An announcement thread should be created.
Steps to reproduce
This works fine:
- name: Create GitHub Release
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
with:
name: Version ${{ needs.revision.outputs.version }}
discussion_category_name: announcements
body_path: release_notes.md
draft: false
prerelease: false
files: release_assets/*
But this does not:
- name: Create GitHub Release
uses: softprops/action-gh-release@v2.6.0
with:
name: Version ${{ needs.revision.outputs.version }}
discussion_category_name: announcements
body_path: release_notes.md
draft: false
prerelease: false
files: release_assets/*
Relevant logs
Additional context
No response
Pre-flight checks
masteraction-gh-release version
v2
Runner operating system
ubuntu-latest
Release target repository
No response
Reproduction repo, gist, or artifact
No response
Workflow snippet
Expected behavior
If
discussion_category_name: announcementsis set, I expect an announcement thread to be created. This works fine withsoftprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2but not with currentv2.6.0orv2.Actual behavior
An announcement thread should be created.
Steps to reproduce
This works fine:
But this does not:
Relevant logs
Additional context
No response