Pre-flight checks
action-gh-release version
v2.6.0
Runner operating system
windows-latest
Release target repository
No response
Reproduction repo, gist, or artifact
No response
Workflow snippet
- name: Release Mirror
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v')
env:
GITHUB_TOKEN: ${{ secrets.BINARIES_REPO_TOKEN }}
with:
repository: ******/ReleaseMirror
name: Product ${{ steps.ghd.outputs.describe }}
tag_name: Product-${{ steps.ghd.outputs.describe }}
prerelease: ${{ env.IS_PRERELEASE == '1' }}
body_path: changes.txt
append_body: true
files: |
Product*.exe
Expected behavior
Up to v2.5.0 releases were created with no issue.
Actual behavior
👩🏭 Creating new GitHub release for tag ****
⚠️ GitHub release failed with status: 404
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"}
Skip retry - discussion category mismatch
👩🏭 Creating new GitHub release for tag ****
⚠️ GitHub release failed with status: 404
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"}
Skip retry - discussion category mismatch
Error: Not Found - https://docs.github.com/rest/releases/releases#create-a-release
Steps to reproduce
Normal use (see snippet).
Target repo has no discussions enabled.
Relevant logs
Run softprops/action-gh-release@v2
with:
repository: *****
name: ***
tag_name: ***
prerelease: true
body_path: changes.txt
append_body: true
files: ****.deb
****.exe
overwrite_files: true
token: ***
env:
pythonLocation: C:\hostedtoolcache\windows\Python\3.12.10\x64
PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.12.10\x64/lib/pkgconfig
Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.10\x64
Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.10\x64
Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.10\x64
UV_TOOL_BIN_DIR: D:\a\_temp\uv-tool-bin-dir
UV_TOOL_DIR: D:\a\_temp\uv-tool-dir
UV_CACHE_DIR: D:\a\_temp\setup-uv-cache
GITHUB_TOKEN: ***
👩🏭 Creating new GitHub release for tag ****
⚠️ GitHub release failed with status: 404
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"}
Skip retry - discussion category mismatch
👩🏭 Creating new GitHub release for tag ****
⚠️ GitHub release failed with status: 404
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"}
Skip retry - discussion category mismatch
Error: Not Found - https://docs.github.com/rest/releases/releases#create-a-release
Additional context
Used to mirror a local release to a secondary report, stopped working on jumping from v2.5.0 to v2.6.2.
Maybe caused by 569deb8? Related to #764
Target repo has no discussions enabled. Maybe just including it in the json makes (as null?) github REST api check for it?
Pre-flight checks
masteraction-gh-release version
v2.6.0
Runner operating system
windows-latest
Release target repository
No response
Reproduction repo, gist, or artifact
No response
Workflow snippet
Expected behavior
Up to v2.5.0 releases were created with no issue.
Actual behavior
👩🏭 Creating new GitHub release for tag ****
⚠️ GitHub release failed with status: 404
⚠️ GitHub release failed with status: 404
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"}
Skip retry - discussion category mismatch
👩🏭 Creating new GitHub release for tag ****
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"}
Skip retry - discussion category mismatch
Error: Not Found - https://docs.github.com/rest/releases/releases#create-a-release
Steps to reproduce
Normal use (see snippet).
Target repo has no discussions enabled.
Relevant logs
Run softprops/action-gh-release@v2 with: repository: ***** name: *** tag_name: *** prerelease: true body_path: changes.txt append_body: true files: ****.deb ****.exe overwrite_files: true token: *** env: pythonLocation: C:\hostedtoolcache\windows\Python\3.12.10\x64 PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.12.10\x64/lib/pkgconfig Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.10\x64 Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.10\x64 Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.10\x64 UV_TOOL_BIN_DIR: D:\a\_temp\uv-tool-bin-dir UV_TOOL_DIR: D:\a\_temp\uv-tool-dir UV_CACHE_DIR: D:\a\_temp\setup-uv-cache GITHUB_TOKEN: *** 👩🏭 Creating new GitHub release for tag **** ⚠️ GitHub release failed with status: 404 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"} Skip retry - discussion category mismatch 👩🏭 Creating new GitHub release for tag **** ⚠️ GitHub release failed with status: 404 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"404"} Skip retry - discussion category mismatch Error: Not Found - https://docs.github.com/rest/releases/releases#create-a-releaseAdditional context
Used to mirror a local release to a secondary report, stopped working on jumping from v2.5.0 to v2.6.2.
Maybe caused by 569deb8? Related to #764
Target repo has no discussions enabled. Maybe just including it in the json makes (as null?) github REST api check for it?