Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoiding code changes by the pipeline with CI_JOB_TOKEN #473

Closed
flickerfly opened this issue Dec 28, 2022 · 1 comment
Closed

Avoiding code changes by the pipeline with CI_JOB_TOKEN #473

flickerfly opened this issue Dec 28, 2022 · 1 comment

Comments

@flickerfly
Copy link

I see in the README that this requires the use of a PAT to work. The release-cli tool created by GitLab that appears to do similar things outside the context of semantic-release is able to do its work with the built-in CI_JOB_TOKEN instead of requiring a PAT that elevates the pipelines permissions and essentially gives the opportunity for the pipeline to change code and commit it back to the repo, breaking a layer of security.

Is it possible to use this plugin with the CI_JOB_TOKEN similar to release-cli rather than providing elevated privileges to the repo?

@flickerfly
Copy link
Author

Duplicate of #156

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

No branches or pull requests

1 participant