lukasoppermann / design-tokens

🎨 Figma plugin to export design tokens to json in an amazon style dictionary compatible format.
https://www.figma.com/community/plugin/888356646278934516/Design-Tokens
MIT License
964 stars 134 forks source link

Cannnot send design token to github #295

Closed hayawata3626 closed 11 months ago

hayawata3626 commented 11 months ago

I have always been using this wonderful plugin.

When I try to submit changes to design tokens using the current version, I encounter an error and a PR for changes is not created on GitHub.

The error log is as follows:

VM2357:660 Refused to connect to 'https://api.github.com/repos/username/design-token-transformer/dispatches' because it violates the following Content Security Policy directive: "default-src data: blob: https://github.com https://bitbucket.org/ https://gitlab.com/ https://rsms.me". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

image

スクリーンショット 2023-12-06 13 59 36

I forked this repository and updated it to the latest commit state, then followed the same steps. However, I did not encounter the above error

jonbrooks commented 11 months ago

I'm also running into this

hayawata3626 commented 11 months ago

@lukasoppermann Do you know anything about this?

lukasoppermann commented 11 months ago

Hey, it should be fixed in the latest version v78. Please let me know if it works so we can close the issue.

hayawata3626 commented 11 months ago

@lukasoppermann I confirmed! Thank you!!

DisDis commented 11 months ago

@lukasoppermann It doesn't work for gitlab. I got error: Refused to connect to 'https://gitlab.mycompany.com/api/v4/projects/1/trigger/pipeline' because it violates the following Content Security Policy directive: "default-src data: blob: https://github.com https://bitbucket.org/ https://gitlab.com/ https://rsms.me https://*.bitbucket.org/ https://*.gitlab.com/ https://*.github.com". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.