bytecodealliance / actions

GitHub actions to setup wasm-tools and wasmtime
5 stars 3 forks source link

Is it possible to learn `$GITHUB_TOKEN` automatically? #9

Closed alexcrichton closed 8 months ago

alexcrichton commented 8 months ago

In https://github.com/bytecodealliance/wit-bindgen/actions/runs/7980244336/job/21789477528?pr=851 I'm seeing the rate limiting that can happen when the token isn't specified. I thought though I've seen actions historically which don't require specifying the token but they instead inherit it (somehow, I'm not sure). Is it perhaps an environment variable that could be configured automatically if no other explicit input is provided?

rajatjindal commented 8 months ago

I'll take a look. There is a Github token env variable, will check (and fix) if we can use that implicitly.