summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-10 08:20:39 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-11 21:22:23 +0200
commit0f6da5dc6a769ad303795942277ae2529e44e7d7 (patch)
treeed9722abdf78ef6e76fc65ddf89a5fc1c069d243 /.github
parentf1b031589e6c58296cdf73b975c71b10c407bdb3 (diff)
downloadvyos-1x-0f6da5dc6a769ad303795942277ae2529e44e7d7.tar.gz
vyos-1x-0f6da5dc6a769ad303795942277ae2529e44e7d7.zip
T4353: GitHub: enable workflow for package testing
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pull-request-management.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-management.yml b/.github/workflows/pull-request-management.yml
new file mode 100644
index 000000000..3a855c107
--- /dev/null
+++ b/.github/workflows/pull-request-management.yml
@@ -0,0 +1,25 @@
+---
+name: Build Pull Request Package
+
+on:
+ pull_request:
+ branches:
+ - current
+ - crux
+ - equuleus
+
+jobs:
+ j2lint:
+ name: Validate j2 files
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ timeout-minutes: 2
+ - name: Setup J2Lint
+ timeout-minutes: 2
+ run: |
+ sudo pip install git+https://github.com/aristanetworks/j2lint.git@341b5d5db86e095b622f09770cb6367a1583620e
+ - name: Run J2lint
+ timeout-minutes: 2
+ run: |
+ j2lint $GITHUB_WORKSPACE/data