Closed
Description
Get go-semantic-release to work with a gitlab ci job token.
The token has much less permissions than a PAT but only has access to limited endpoints.
The motivation is ease of maintance. The ci tokens are automatically created and deleted after builds so are ideal for publishing
The variables we currently source from the project api are available during the build
https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
- CI_DEFAULT_BRANCH
- CI_PROJECT_VISIBILITY
Its not clear to me if the token can even access the commits
- https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html
- https://forum.gitlab.com/t/project-access-token-and-include/56008/3
Will investigate...
Metadata
Metadata
Assignees
Labels
No labels