ipfs / ipld-explorer-components

React components for https://explore.ipld.io and ipfs-webui
Other
24 stars 23 forks source link

fix: github automated release with semantic-release #369

Closed SgtPooki closed 1 month ago

SgtPooki commented 1 year ago

Describe the bug Last automated release failed: https://github.com/ipfs/ipld-explorer-components/actions/runs/5215020086/jobs/9412063229

whizzzkid commented 1 year ago

@SgtPooki looks like the master branch is protected:

Error: Command failed with exit code 1: git push --tags https://github.com/ipfs/ipld-explorer-components.git HEAD:master
remote: error: GH006: Protected branch update failed for refs/heads/master.        
remote: error: Changes must be made through a pull request.        
To https://github.com/ipfs/ipld-explorer-components.git
 ! [remote rejected] HEAD -> master (protected branch hook declined)

There is an open issue, but I don't trust github team to resolve those anytime soon. I introduced release-pr to fix this in companion: https://github.com/ipfs/ipfs-companion/blob/main/.github/workflows/ci.yml#L96-L104

The relase pr can merge a tag to master.

SgtPooki commented 2 months ago

pinging ipdx channel on slack

SgtPooki commented 1 month ago

8.0.0 was just published successfully, automatically. See https://github.com/ipfs/ipld-explorer-components/actions/runs/11393504451/job/31702084293