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