Skip to content

chore: add logging to bucket interaction failure - #185

Open
yanksyoon wants to merge 4 commits into
canonical:mainfrom
yanksyoon:chore/log-bucket-error
Open

yanksyoon wants to merge 4 commits into
canonical:mainfrom
yanksyoon:chore/log-bucket-error

Conversation

@yanksyoon

Copy link
Copy Markdown
Member

Add logging to S3 bucket creation/fetch failure to help diagnose the underlying issue.

@Gu1nness

Copy link
Copy Markdown
Contributor

@yanksyoon Please fix the linting and then all good for me!

@yanksyoon

Copy link
Copy Markdown
Member Author

@Gu1nness Hello Neha! Sorry for the late reply, just saw it after the break! I think the publish lib is failing due to perhaps repository configurations.

 Error: Trusted publishing exchange failure: 
  OpenID Connect token retrieval failed: GitHub: missing or insufficient OIDC token permissions, the ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variable was unset
  
  The workflow context indicates that this action was called from a
  pull request on a fork. GitHub doesn't give these workflows OIDC permissions,
  even if `id-token: write` is explicitly configured.
  
  To fix this, change your publishing workflow to use an event that
  forks of your repository cannot trigger (such as tag or release
  creation, or a manually triggered workflow dispatch).

Would you help me retrigger the workflow after setting the environment variable please? Thank you!

This branch had an error being deployed

1 failed deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants