Skip to content

Commit

Permalink
Merge pull request #455 from GDGAhmedabad/feat/prettify-meet-the-talent
Browse files Browse the repository at this point in the history
Removed prettier as it's not working with fork repo PR
  • Loading branch information
JaldeepAsodariya authored Nov 20, 2024
2 parents 21355a1 + 4b38bcd commit c38e82c
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 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: write
contents: read
pull-requests: write # enable write permissions for pull request comments

jobs:
Expand All @@ -22,20 +22,6 @@ 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
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0 # Fetch complete history to avoid fetch issues

- 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 Down

0 comments on commit c38e82c

Please sign in to comment.