mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
.woodpecker.yml: add CI file
This commit is contained in:
parent
ab278bf4ae
commit
79a4c7c53a
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -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
|
18
.github/workflows/mirror.yml
vendored
18
.github/workflows/mirror.yml
vendored
@ -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
9
.woodpecker.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user