From 79a4c7c53a5100c3b7db4a88c8c34b9882709710 Mon Sep 17 00:00:00 2001 From: git-bruh Date: Mon, 26 Sep 2022 20:53:30 +0530 Subject: [PATCH] .woodpecker.yml: add CI file --- .github/workflows/main.yml | 15 --------------- .github/workflows/mirror.yml | 18 ------------------ .woodpecker.yml | 9 +++++++++ 3 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/mirror.yml create mode 100644 .woodpecker.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 30f099be..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml deleted file mode 100644 index 79f00456..00000000 --- a/.github/workflows/mirror.yml +++ /dev/null @@ -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 }} diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 00000000..260d6193 --- /dev/null +++ b/.woodpecker.yml @@ -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