jaxxstorm / action-install-gh-release

GitHub Action to install the Github Release binaries
Apache License 2.0
75 stars 32 forks source link

Parameter token or opts.auth is required for public repo #85

Open andrey-parkhomets opened 5 months ago

andrey-parkhomets commented 5 months ago

Test scenario:

      - name: Install Open Telemetry Collector Builder (ocb)
        uses: jaxxstorm/action-install-gh-release@v1.12.0
        with: # Grab a pure binary
          repo: open-telemetry/opentelemetry-collector
          tag: v0.62.1
          extension-matching: disable
          rename-to: ocb
          chmod: 0755

local test environment nektos/act

act --container-architecture linux/amd64  \
 -P enterprise-linux-runners=ghcr.io/catthehacker/ubuntu:act-22.04 \
 workflow_dispatch

error message: Parameter token or opts.auth is required

Workaround: pass token: parameter with real and valid user token

corvus-migratorius commented 1 month ago

Can confirm, I'm also facing this issue with nektos/akt.

jaxxstorm commented 3 weeks ago

I don't use akt, so will take a PR for a fix here