.woodpecker.yml: add CI file

This commit is contained in:
git-bruh 2022-09-26 20:53:30 +05:30
parent ab278bf4ae
commit 79a4c7c53a
No known key found for this signature in database
3 changed files with 9 additions and 33 deletions

View File

@ -1,15 +0,0 @@
name: Shellcheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run shellcheck.
run: |
shopt -s nullglob
shellcheck */*/build */*/post-install

View File

@ -1,18 +0,0 @@
name: Mirroring
on: [push, delete]
jobs:
to_codeberg:
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'master' && !github.event.pull_request }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@codeberg.org:kiss-community/repo
ssh_private_key:
${{ secrets.CODEBERG_DEPLOY_KEY }}

9
.woodpecker.yml Normal file
View File

@ -0,0 +1,9 @@
pipeline:
build:
image: alpine
when:
branch: [ master ]
commands: |
apk add --no-cache shellcheck
find ./* -type f -name build -o -name post-\* -o -name pre-\* | sed 's/[^[:alnum:]]/\\\\&/g' | xargs shellcheck