hyperledger / anoncreds-methods-registry

The AnonCreds Objects Method Registry -- a registry of implementations for registering and resolving AnonCreds Objects on different Verifiable Data Registries
Apache License 2.0
6 stars 7 forks source link

Build Spec build failure due to permissions issues #28

Closed WadeBarnes closed 2 months ago

WadeBarnes commented 2 months ago

The Build Spec job is failing due to what appears to be permissions issues.

The latest failure: https://github.com/hyperledger/anoncreds-methods-registry/actions/runs/10370892120

image

Last worked here: https://github.com/hyperledger/anoncreds-methods-registry/actions/runs/5080617892

WadeBarnes commented 2 months ago

@ryjones, are you able to look in on the secrets.GITHUB_TOKEN and see if it's expired or needs to be replaced for some other reason? Thanks

WadeBarnes commented 2 months ago

@swcurran, Also wondering if the permissions need to be stated on the job:

permissions:
  contents: write

As shown here; https://github.com/JamesIves/github-pages-deploy-action?tab=readme-ov-file#getting-started-airplane

image

swcurran commented 2 months ago

That fixed it. I had been comparing with another publish job and saw that, but since this one didn’t have it before, I didn’t add it. Now there and now working — thanks!