From 20fbd28d46e05be28be39a8bc3aee692a45b7938 Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Wed, 14 Apr 2021 21:35:09 +0200 Subject: add php linter --- .github/workflows/mirroring.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to '.github/workflows/mirroring.yml') diff --git a/.github/workflows/mirroring.yml b/.github/workflows/mirroring.yml index 10b5f4d..d804f54 100644 --- a/.github/workflows/mirroring.yml +++ b/.github/workflows/mirroring.yml @@ -1,13 +1,22 @@ name: Mirroring -on: [push, delete] +on: + push: + delete: + pull_request: + branches: [ master ] jobs: - to_gitolite: - runs-on: ubuntu-18.04 + lint-and-mirror: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: pixta-dev/repository-mirroring-action@v1 + - uses: actions/checkout@v2 + + - name: PHP Lint + uses: michaelw90/PHP-Lint@2.1.0 + + - name: Mirror to VOC gitolite + uses: pixta-dev/repository-mirroring-action@v1 with: target_repo_url: git@git.c3voc.de:streaming-website.git -- cgit v1.2.3