Skip to content

Commit

Permalink
rem: removed prettier as it's not working with fork repo PR
Browse files Browse the repository at this point in the history
  • Loading branch information
djgovani committed Nov 20, 2024
1 parent 6467162 commit 4b38bcd
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/[email protected]
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/[email protected] # replace with the latest version
Expand Down

0 comments on commit 4b38bcd

Please sign in to comment.