diff options
author | Andreas Hubel | 2021-04-14 21:35:09 +0200 |
---|---|---|
committer | Andreas Hubel | 2021-04-14 21:35:09 +0200 |
commit | 20fbd28d46e05be28be39a8bc3aee692a45b7938 (patch) | |
tree | 0bb9e3da8d6fda54866cf2f6ea0f793519e5283e /.github | |
parent | 9a8263dbef092df3dc8544ac9e8b207485818b47 (diff) |
add php linter
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/mirroring.yml | 19 |
1 files changed, 14 insertions, 5 deletions
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 |