Skip to content

Commit

Permalink
Merge pull request GDGAhmedabad#440 from GDGAhmedabad/feat/prettify-m…
Browse files Browse the repository at this point in the history
…eet-the-talent

[Feat] Prettify Meet The Talent JSON
  • Loading branch information
JaldeepAsodariya authored Nov 20, 2024
2 parents 47a61d6 + 7b38f12 commit 9bff3e4
Showing 1 changed file with 14 additions and 2 deletions.
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

0 comments on commit 9bff3e4

Please sign in to comment.