From 4b38bcdba66abadfd37525e104772acbc868bd40 Mon Sep 17 00:00:00 2001 From: Deep Govani Date: Wed, 20 Nov 2024 14:25:02 +0530 Subject: [PATCH] rem: removed prettier as it's not working with fork repo PR --- .github/workflows/validate-talent-data.yaml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/validate-talent-data.yaml b/.github/workflows/validate-talent-data.yaml index 2435654..1bd4a67 100644 --- a/.github/workflows/validate-talent-data.yaml +++ b/.github/workflows/validate-talent-data.yaml @@ -13,7 +13,7 @@ on: workflow_dispatch: permissions: - contents: write + contents: read pull-requests: write # enable write permissions for pull request comments jobs: @@ -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