Skip to content
Back to skills

Woodpecker Authoring Pipelines

ASecurity

Use when adding CI to a repo that has none and the user's setup puts that repo on Woodpecker, writing or editing `.woodpecker.yml` or `.woodpecker/*.yaml`, porting a GitHub Actions or other CI config to Woodpecker, giving a step a secret (`from_secret`) or advising what to set on a Woodpecker secret, checking whether a Woodpecker config is valid, or when a Woodpecker step behaves differently than it does locally (shell syntax, file permissions, a service on localhost).

  • 13 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 9, 2026
devopsshellbashgitbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add technicalpickles/pickled-claude-plugins --skill woodpecker-authoring-pipelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Woodpecker Authoring Pipelines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Woodpecker Authoring Pipelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/technicalpickles-woodpecker-authoring-pipelines/badge)](https://www.skillsdirectory.com/skills/technicalpickles-woodpecker-authoring-pipelines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: woodpecker-authoring-pipelines
description: Use when adding CI to a repo that has none and the user's setup puts that repo on Woodpecker, writing or editing `.woodpecker.yml` or `.woodpecker/*.yaml`, porting a GitHub Actions or other CI config to Woodpecker, giving a step a secret (`from_secret`) or advising what to set on a Woodpecker secret, checking whether a Woodpecker config is valid, or when a Woodpecker step behaves differently than it does locally (shell syntax, file permissions, a service on localhost).
---

# Authoring Woodpecker pipelines

## Validate before pushing

```bash
woodpecker-cli lint .woodpecker.yml    # a file, or a .woodpecker/ directory
```

Exit 0 prints `Config is valid`. Errors print one line each and exit 1. It needs no server and no login, so it works on any machine with the CLI. A warning like "consider adding a `when` block with an `event` filter" is advice, not an error: without one, a step runs on every event.

`woodpecker-cli exec` runs a pipeline on the local machine. It defaults the event to `manual`, which skips any step filtered to `push`, so pass `--pipeline-event push`. What it mounts and how services behave depend on the backend and the machine; see [references/runtime-facts.md](references/runtime-facts.md#local-runs-with-exec).

## Where "works locally, fails in CI" comes from

The shell, the user a step runs as, how services are named and what the checkout looks like all depend on the pipeline's backend, image and settings, so don't assume them. Add a throwaway probe step that prints `id`, `ls -l /bin/sh` and `ls -ld .git`, read its log, and fix against what it shows. Probes and the documented behavior (`failure: ignore`, skipped steps, event filters) are in [references/runtime-facts.md](references/runtime-facts.md).

## Secrets

A step reads a secret with `from_secret` under `environment:` (or `settings:` for a plugin). Two settings on the secret itself decide whether the step gets it:

- **Events.** By default a secret is not exposed to `pull_request` pipelines. A step that runs on pull requests needs that event enabled on the secret.
- **Image filter.** Leave it empty for a step with `commands:`. A filter only works for plugin steps, and a normal step that uses a filtered secret fails the whole pipeline before any step runs.

Details and the exact error are in [references/runtime-facts.md](references/runtime-facts.md#secrets).

## Conventions

Whether a repo gets Woodpecker at all is the user's call, usually stated in their rules or the repo's CLAUDE.md. Follow it without offering GitHub Actions as an alternative.

Trigger rules, base images and file layout are choices each repo makes. Read the repo's own CLAUDE.md and copy a sibling repo's pipeline before inventing structure.

Files in this skill

  • SKILL.md1.8 KB
  • evals/eval_set.json2.7 KB
  • references/runtime-facts.md2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.