Repository navigation
ci: add deploy-time Pinata pinning - #40
Merged
Merged
Conversation
Pin the deployed CID to Pinata via the v3 pin_by_cid endpoint using the PINATA_JWT Actions secret. Fails the step on non-200 HTTP response.
AI-M4K3R
marked this pull request as ready for review
November 20, 2026 05:52
nipsysdev
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deployjob, immediately after the existing Pin to 4EVERLand step.POST https://api.pinata.cloud/v3/files/public/pin_by_cid(same endpoint/payload shape as the gwei-site worker's pinner), authenticated with${{ secrets.PINATA_JWT }}(owner adds the secret).Investigation of the suspected hard-coded-token bug
Suspected bug not confirmed. The 4EVERLAND step declares
PIN_4EVER_TOKEN: ${{ secrets.PIN_4EVER_TOKEN }}in itsenvand every curl uses$PIN_4EVER_TOKENin theauthorizationheader — the secret reference is used correctly. (A byte-levelod -cdump of the header lines was checked after an output-layer redaction made the line look like a literal.) No change made to the 4EVERLAND step.Notes for reviewer
main, so the Pinata pin activates on merge.PINATA_JWTsecret must exist before merge for the step to succeed on the next deploy.