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