What's Changed
Using a Git access token (GIT_ACCESS_TOKEN or GIT_ACCESS_TOKEN_FILE environment variable) is now optional again (but still recommended). If you only deploy from public repositories, you can use doco-cd without an access token for your Git provider (keep in mind that there may be rate limits when not using a token).
Also, the private field in the poll settings was removed. If you set the Git access token, doco-cd will always use that token to clone/fetch your repositories. If you didn't set the Git access token and the repository is private and therefore not reachable, doco-cd will throw an error: "error":"authentication required: Repository not found."
🚨 Breaking Changes
📦 Dependencies
- chore(deps): update github/codeql-action digest to 2d92b76 by @renovate[bot] in #586
- chore(deps): update dependency golang to v1.25.1 by @renovate[bot] in #587
- fix(deps): update module github.com/spf13/pflag to v1.0.10 by @renovate[bot] in #588
- chore(deps): update module mvdan.cc/gofumpt to v0.9.0 by @renovate[bot] in #589
- chore(deps): update codecov/codecov-action action to v5.5.1 by @renovate[bot] in #590
- fix(deps): update module github.com/prometheus/client_golang to v1.23.1 by @renovate[bot] in #591
Full Changelog: v0.33.1...v0.34.0