Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Prettify Meet The Talent JSON #440

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/validate-talent-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

permissions:
contents: read
contents: write
pull-requests: write # enable write permissions for pull request comments

jobs:
Expand All @@ -22,6 +22,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
# This part is also where you can pass other options, for example:
prettier_options: --write public/data/meet-the-talent.json

- name: json-yaml-validate
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v3.2.1 # replace with the latest version
Expand All @@ -31,4 +43,4 @@ jobs:
files: |
public/data/meet-the-talent.json
use_gitignore: false
ajv_strict_mode: false
ajv_strict_mode: false