1565 Commits
Author SHA1 Message Date
Zack Mully a816707e6e all yaml unmarshalling should use maxDepth (#6911) 2026-07-29 02:23:17 +02:00
qwerty287 22a2fa8f42 Do not allow 0 minute timeout (#6903) 2026-07-28 00:02:58 +02:00
Darafei Praliaskouski 0146c139a2 Fix pipeline queue default template data (#6906)
Signed-off-by: Darafei Praliaskouski <me@komzpa.net>
2026-07-27 22:08:02 +02:00
b28a4a22bf Fix persisting pipeline configuration (#6857)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2026-07-20 20:38:29 +02:00
José Maiaandglitch-ux bfd787c9aa fix(forgejo): treat 404 on empty repos as empty pull request list (#6872)
Co-authored-by: glitch-ux <glitch-ux@users.noreply.github.com>
2026-07-20 09:56:51 +02:00
Anay Garodia 099df99494 fix(github): resolve tag pagination loop in release hook (#6870) 2026-07-20 09:56:25 +02:00
6543andClaude fd93e64e46 Add fuzz target to make (#6828)
Co-authored-by: Claude <claude@anthropic.com>
2026-07-19 00:41:14 +02:00
Nicolás Batistoni 33b90de63d Fix CreatePipeline retry (#6859) 2026-07-17 19:38:25 +03:00
6543 8c240eedd5 Add mock for server scheduler (#6848) 2026-07-15 20:50:06 +02:00
40b2bc4c4f Update module github.com/google/go-github/v88 to v89 (#6838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2026-07-13 23:00:09 +02:00
Alconety f4bc0f3086 Add step type label to step-level Prometheus metrics (#6824) 2026-07-10 15:54:29 +02:00
TowyTowyandClaude Fable 5 09be7cdcb8 fix(server): heal users left on forge_id=0 with closed registration (#6823)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 16:12:09 +02:00
6543 8a9c45ac44 Correct forge_id and org handling on user/repo (#6820) 2026-07-08 22:02:14 +03:00
renovate[bot]andlnx01 adbc365be3 Update module github.com/cenkalti/backoff/v6 to v7 (#6812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-04 07:31:37 +02:00
6543 1fdd0554db migration: "update-pipeline-structure_tags-releases" should have stable order (#6796) 2026-06-29 03:09:05 +02:00
6543andqwerty287 8ff62b2f9e Rework pipeline data structure: Release & Tag (#6774)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-06-27 17:56:45 +02:00
6543 41181ab401 Server can move pipeline parsing into background on long creation times (#6781) 2026-06-26 15:16:56 +03:00
Weslley Rocha e3f827bd67 Add CI_COMMIT_PULL_REQUEST_DRAFT environment variable (#6778) 2026-06-26 11:16:54 +02:00
Robert Wolff 0f5819c023 Allow images for secrets to contain SHA256 for image pinning (#6784) 2026-06-25 17:35:14 +02:00
Eric Zhou 3d2d43bd4f fix(metrics): reduce step metric cardinality (#6777) 2026-06-24 12:52:54 +02:00
6543 98002ba6f6 server should drop stale queue tasks already missing in database (#6765) 2026-06-22 21:15:27 +03:00
6543 b28cdf2e51 server queue api should ignore missing agent (#6763) 2026-06-22 15:31:21 +02:00
6543 34ecbe904f Regenerate store mock and flake update (#6764) 2026-06-22 08:19:21 +02:00
6543 98ecce4bb1 Refactor to inject store and context into server scheduler (#6755) 2026-06-21 17:06:06 +03:00
6543 d31c27a0e1 Harden agent rpc to check agentID on workflow (#6759)
We now assign on Next, right when the agent that got the workflow, the agent ID to the workflow.
Later each call checks that this is still the same.

PS: shout-out to `Yaohui Wang` for finding this edgecase (it is not worth a CVE etc... as the security boundary's stay the same nontheless)
2026-06-21 15:03:19 +02:00
833d0374b3 Update module github.com/cenkalti/backoff/v5 to v6 (#6752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-06-20 19:26:23 +02:00
6543 dea7d6a4c7 Refactor server scheduler by collect in new interface (#6753)
before the scheduler was just a proxy for queue and pubsub, now we move logic into it and combine calls that do result in queue and pubsub calls into one interface
2026-06-20 19:22:33 +02:00
dd7a5b6c48 Add workflow concurrency limit option (#6671)
Co-authored-by: Lauris B <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
2026-06-20 12:33:37 +02:00
Eric Zhou dc916185d7 Add Prometheus metrics for pipeline step duration and failures (#6738)
- Add `WOODPECKER_STEP_LEVEL_METRICS` server option.
- Move server metrics collection into the `server/metric`.
- Export step-level Prometheus metrics when enabled:
  - `woodpecker_step_failures_total{pipeline,repo,step}`
  - `woodpecker_step_duration_seconds{pipeline,repo,step}`
2026-06-18 22:28:17 +02:00
6543andClaude 9692f3fae4 More test coverage of server/api/... (#6712)
Co-authored-by: Claude <claude@anthropic.com>
2026-06-15 22:08:11 +02:00
6543andClaude 0fa872e276 Add more tests in areas not well covered (#6696)
Co-authored-by: Claude <claude@anthropic.com>
2026-06-05 14:49:38 +02:00
6543 72335fa890 github dont fail on force push (#6697) 2026-06-04 19:21:45 +02:00
6543 ede1fcd45b Trim white spaces for cron create/update (#6690) 2026-06-02 10:31:53 +02:00
guillaumemandGuillaumeMeurillon e630e0a394 Improve slow user authorization if many orgs/repos (#5665)
Co-authored-by: GuillaumeMeurillon <MeurillonGuillaume@users.noreply.github.com>
2026-06-01 11:37:31 +02:00
qwerty287andAkash Kumar 4df2e41150 Add commit timestamp env vars (#6670)
Co-authored-by: Akash Kumar <meakash7902@gmail.com>
2026-05-31 12:23:53 +02:00
qwerty287 f7f0a9b561 Show correct default paths in UI (#6665) 2026-05-28 14:08:36 +02:00
6543 d0cda7b59b Cleanup e2e test setup (#6480) 2026-05-28 13:33:38 +02:00
Simon Meyerand6543 64d7ed8952 Support optional flag in depends_on for workflows and steps (#6461)
Extends `depends_on` to accept objects with `name` and `optional` fields, at both workflow and step level. When `optional: true`, the dependency is silently dropped if the referenced workflow/step is not part of the pipeline (e.g. filtered out by `when` conditions). If present, it is enforced as usual.

Co-authored-by: 6543 <6543@obermui.de>
2026-05-28 09:23:42 +02:00
qwerty287 98faae778c Use Gitlab username (#6653) 2026-05-27 14:16:25 +02:00
qwerty287 1fbacac3a4 Fix org lookup panic (#6652)
Add a new org lookup func that returns an error if there's more than one org.
2026-05-27 13:18:21 +02:00
John Olheiser 23102152fb Add config to change default pipeline config paths and extensions (#6580)
Signed-off-by: jolheiser <git@jolheiser.com>
2026-05-26 19:57:39 +02:00
Akash Kumarand6543 32a7bf9748 Fix approved gated pipeline scheduling (#6627)
Closes #6619

Co-authored-by: 6543 <6543@obermui.de>
2026-05-26 14:43:05 +02:00
4d7f6eacd4 Update golang-packages (#6637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2026-05-25 10:59:43 +02:00
3993607409 Update module github.com/google/go-github/v86 to v88 (#6626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2026-05-23 17:07:54 +02:00
qwerty287 d05c597374 View warning if admin is configured at env level (#6600) 2026-05-19 10:27:44 +02:00
qwerty287 c64fa98b6e Add timezone support for crons (#6597) 2026-05-17 20:26:37 +02:00
Eric Zhou 8905b8fa53 Add CI_PIPELINE_RERUNS environment variable (#6588) 2026-05-17 19:13:23 +02:00
6543 11f74a6291 format with gofumpt v0.10.0 (#6573) 2026-05-14 14:02:43 +02:00
6543 c1adf2e8af saveWorkflowsFromPipelineBuilder: check for pre-loaded workflows (#6474) 2026-05-13 21:23:33 +02:00
e4dfbf86c6 Refactor server/.../step_builder into pipeline/.../builder (#3967)
Extract the `step_builder` from the server to the pipeline package.
This cleans the interfaces / structure and will allow us to re-use it in the cli to correctly support pipeline execution (things like `depends_on` support).

Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
Co-authored-by: 6543 <6543@obermui.de>
2026-05-13 19:08:38 +02:00