sinedied / publish-devto

:postbox: GitHub Action to publish markdown files on dev.to platform, with assets hosted on GitHub.
MIT License
39 stars 7 forks source link

Support for SSH based git connection to use deploy keys for extra security #3

Closed jikuja closed 3 years ago

jikuja commented 4 years ago

Personal Access Tokens(PAT) gives access to all repositories.

SSH based deploy keys should be used instead of PAT and it requires using SSH keys(repository based deploy keys). Ref: https://docs.github.com/en/developers/overview/managing-deploy-keys#machine-users

Not sure how feasible this this feature is to do.

sinedied commented 4 years ago

I'm not sure too how that would work on github actions CI, if you have some ideas on this don't hesitate to propose a PR

sinedied commented 3 years ago

I'm closing this one as you don't need a PAT with the new v2 unless you use protected branches, the default one used for GHA is enough.