aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/mirroring.yml19
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