Skip to content

[Bug]: Discussion threads are no longer generated #764

@ximion

Description

@ximion

Pre-flight checks

  • I searched existing issues and did not find a duplicate
  • I reproduced this with the latest released version or current master
  • I included a reproducible example or a sanitized/redacted reproduction path if the original repository is private

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions