diff options
author | Braxton Hall | 2022-10-27 07:45:28 +0000 |
---|---|---|
committer | GitHub | 2022-10-27 07:45:28 +0000 |
commit | c2cde6bb9c1a43a69a276a20ad083d88b6fa0693 (patch) | |
tree | 16dfc02eac5fe3b538c3e49719eb62e800f0b4cd /.github/workflows | |
parent | 4acadab99cb1e3241ed7e5fd3b39d07adbc54f21 (diff) |
Workflow (#56)
* Make the people check more rigorous
* Actually install ajv before trying to use it in an action
* Automatically prettify people.json
* Rename workflow step
* Make sure correct branch is checked out
* Use tabs
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 266b8f8..168d24a 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -15,10 +15,21 @@ jobs: node: [ 16.x ] steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} + fetch-depth: 0 - name: Install modules with Node ${{ matrix.node }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} + - name: Install packages + run: yarn install - name: Check people run: node bin/checkPeople.js ${{ github.actor }} + - name: Prettify people + uses: creyD/prettier_action@v4.2 + with: + same_commit: true + prettier_options: --use-tabs --write people.json |