· rangkumin.tech

Woodpecker CI 3.21 uses read-only deploy tokens for GitLab and Gitea clones and raises matrix axis limit to 64

Woodpecker CI, an open-source, self-hosted CI/CD server, has released version 3.21.0. The release tightens security by cloning GitLab and Gitea repositories with read-only deploy tokens, logging agent authentication failures in a Fail2Ban-friendly format, and raising the allowed values per pipeline matrix axis from 10 to 64.

Why it matters

According to the GitHub release notes and a report on Linuxiac, agent authentication now uses constant-time token comparisons, and agents are restricted to updating steps within their assigned workflows. Webhook signature verification was improved, and administrators can optionally be restricted to the primary Git forge. The project now also generates an SBOM for each release.

On the pipeline side, queue scheduling is faster with large backlogs of concurrency groups, and task lease timeouts can be configured through the WOODPECKER_TASK_TIMEOUT environment variable. The Kubernetes backend gains better pod monitoring and workflow resource cleanup, and the local backend adds initial support for C# script runners.

Forge integration was refined as well, with better reporting of canceled and skipped workflows, support for Forgejo draft pull request metadata and more efficient retrieval of pipeline configuration directories from GitHub. Teams upgrading should review the read-only token change first, since it alters the credentials pipelines use to clone.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.