add woodpecker pipeline

This commit is contained in:
Simon Marsh 2026-02-12 10:19:16 +00:00
parent 6bcd612385
commit c73ac86d9a
No known key found for this signature in database
GPG key ID: E9B4156C1659C079
2 changed files with 30 additions and 23 deletions

View file

@ -1,23 +0,0 @@
---
kind: pipeline
type: docker
name: pull-checks
steps:
- name: squashbot
image: dn42/pipeline
environment:
SQUASHBOT_TOKEN:
from_secret: SQUASHBOT_TOKEN
commands:
- /scripts/wrapper
trigger:
event:
- pull_request
---
kind: signature
hmac: a7844c78365f463971354b5650affed18c0ca3ffd05e9c96a7c3390558c84fb9
...

30
.woodpecker/pipeline.yml Normal file
View file

@ -0,0 +1,30 @@
---
###########################################################################
when:
- event: [ pull_request ]
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: false
lfs: false
partial: false
depth: 0
branch: 'pr'
fetch-target-branch: true
target-branch: master
steps:
- name: 'SquashBot'
image: 'git.dn42/registry/pipeline-docker:latest'
environment:
SQUASHBOT_TOKEN:
from_secret: 'SQUASHBOT_TOKEN'
commands:
- /scripts/wrapper
###########################################################################
# end of file