Skip to content

Unexpected error fetching GitHub release for tag on Windows x64 runner #729

@aminya

Description

@aminya

The Windows x64 runners have started to give this strange error when using action-gh-release. I didn't face this issue previously using the same configuration. All the other runners (e.g., macOS, Linux, Windows Arm) work as expected.

⚠️ Unexpected error fetching GitHub release for tag refs/tags/1.106.2606: HttpError: Bad credentials - https://docs.github.com/rest
Error: Bad credentials - https://docs.github.com/rest
        uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b
        with:
          tag_name: ${{ steps.get_tag.outputs.tag_name }}
          draft: true
          prerelease: true
          token: ${{ steps.app-token.outputs.token }}
          files: ./assets/*
          fail_on_unmatched_files: true
          repository: abacusai/deepagent-releases
          make_latest: true

The permissions are enabled

permissions:
  contents: write
  packages: read
  id-token: write

It looks like it is related to #572, but the solutions there (adding permissions or updating the action) do not apply

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions