aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorbraxtonhall2022-10-24 19:18:35 +0000
committerbraxtonhall2022-10-24 19:18:35 +0000
commit7cdf8b8dfca8e8513fdbc1ed67a701420d8527cb (patch)
tree47a9d83e449d9ec8791048da70149ce25530ef92 /.github/workflows
parent7972ad88012a56f6afd54ada46cd45206418682a (diff)
Add a PR workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pull.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml
new file mode 100644
index 0000000..266b8f8
--- /dev/null
+++ b/.github/workflows/pull.yml
@@ -0,0 +1,24 @@
+name: Check people
+
+on:
+ pull_request:
+ branches:
+ - main
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node: [ 16.x ]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install modules with Node ${{ matrix.node }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node }}
+ - name: Check people
+ run: node bin/checkPeople.js ${{ github.actor }}