You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
I need to pass the GitHub Token to a job configured in the repo-specific setup. We just started compiling our protobufs in CI (libp2p/go-libp2p#1986), and we need to install protoc for that, and unless we use the GitHub Token as described in https://github.com/arduino/setup-protoc#usage, we'll run into rate limits pretty quickly.
I assume this is because the composite action doesn't have access to the secrets. I haven't found anything about that in the documentation (I didn't do a comprehensive search though). Since we trust our composite action steps (they're checked into the same repository as the go-test / go-check workflow, after all), I can't see a problem with passing the GitHub token, or even the entire secrets object, if that's possible, to the composite action.
@galargh What do you think? Does that make sense? If so, go-libp2p would like to test this as an early adopter :)
The text was updated successfully, but these errors were encountered:
I need to pass the GitHub Token to a job configured in the repo-specific setup. We just started compiling our protobufs in CI (libp2p/go-libp2p#1986), and we need to install
protoc
for that, and unless we use the GitHub Token as described in https://github.com/arduino/setup-protoc#usage, we'll run into rate limits pretty quickly.Now it's not possible to use
${{ secrets.GITHUB_TOKEN }}
in a composite step, see the following failure:https://github.com/libp2p/go-libp2p/actions/runs/3899398859/jobs/6659026659
I assume this is because the composite action doesn't have access to the secrets. I haven't found anything about that in the documentation (I didn't do a comprehensive search though). Since we trust our composite action steps (they're checked into the same repository as the
go-test
/go-check
workflow, after all), I can't see a problem with passing the GitHub token, or even the entiresecrets
object, if that's possible, to the composite action.@galargh What do you think? Does that make sense? If so, go-libp2p would like to test this as an early adopter :)
The text was updated successfully, but these errors were encountered: