Update user.json #618
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Portal JSONs | |
on: | |
push: | |
paths: | |
- '_data/portals/*.json' | |
pull_request: | |
paths: | |
- '_data/portals/*.json' | |
workflow_dispatch: | |
jobs: | |
verify-json-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Validate JSON | |
uses: docker://orrosenblatt/validate-json-action:latest | |
env: | |
INPUT_SCHEMA: /_data/portals/PortalGroup.schema.json | |
INPUT_JSONS: /_data/portals/admin.json,/_data/portals/thirdparty.json,/_data/portals/us-govt.json,/_data/portals/user.json | |
- name: Discord Webhook Notify | |
if: ${{ failure() }} | |
# uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 | |
uses: rjstone/[email protected] | |
with: | |
# Discord webhook URL. Should be stored in a secret and inserted as a context expression. | |
webhookUrl: ${{ secrets.DiscordPsychoPingKey }} |