Skip to content

Update social links for Evan Hunter Stanton #401

Update social links for Evan Hunter Stanton

Update social links for Evan Hunter Stanton #401

Workflow file for this run

name: Verify Pull Requests
# Run this workflow every time a new commit pushed to the repository
on:
push:
branches: ['*']
#branches-ignore: 'main'
pull_request:
branches: ['*']
#branches-ignore: 'main'
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
pr-test:
name: Verify data
runs-on: ubuntu-latest
steps:
- name: Checkout data
uses: actions/checkout@v3
- name: Calculate working directory
run: echo "PWD=$(realpath ./$EXTENSION_SUBDIRECTORY)" >>$GITHUB_OUTPUT
id: pwd
- name: Working directory
run: echo "${{ steps.pwd.outputs.PWD }}"
- name: Verify JSON postgresfriends.json
run: jq -e "." < postgresfriends.json > /dev/null
- name: Verify postgresfriends.json data integrity
run: ./bin/verify-data.py < postgresfriends.json > /dev/null
- name: Find 'Mastadon' in postgresfriends.json file
run: echo "COUNT=$(grep -c 'Mastadon' postgresfriends.json)" >>$GITHUB_OUTPUT
id: mastadon_count_friends
- name: Show 'Mastadon' word count
run: echo "${{ steps.mastadon_count_friends.outputs.COUNT }}"
- name: Break if word 'Mastadon' is found
run: exit 1
if: steps.mastadon_count_friends.outputs.COUNT != '0'
- name: Verify JSON postgresprojects.json
run: jq -e "." < postgresprojects.json > /dev/null
- name: Verify postgresprojects.json data integrity
run: ./bin/verify-data.py < postgresprojects.json > /dev/null
- name: Find 'Mastadon' in postgresprojects.json file
run: echo "COUNT=$(grep -c 'Mastadon' postgresprojects.json)" >>$GITHUB_OUTPUT
id: mastadon_count_projects
- name: Show 'Mastadon' word count
run: echo "${{ steps.mastadon_count_projects.outputs.COUNT }}"
- name: Break if word 'Mastadon' is found
run: exit 1
if: steps.mastadon_count_projects.outputs.COUNT != '0'