diff --git a/.github/workflows/linters-readme.yml b/.github/workflows/linters-readme.yml index 3bd5b2042a0e51..d8aca1140197a0 100644 --- a/.github/workflows/linters-readme.yml +++ b/.github/workflows/linters-readme.yml @@ -48,7 +48,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }} - name: Get modified README if: github.event_name != 'push' - run: curl -fsSLo README.md "https://raw.githubusercontent.com/nodejs/node/$GITHUB_SHA/README.md" + run: | + echo "https://raw.githubusercontent.com/nodejs/node/$SHA/README.md" + curl -fsSLo README.md "https://raw.githubusercontent.com/nodejs/node/$SHA/README.md" + git --no-pager diff + env: + SHA: ${{ github.event.pull_request.merge_commit_sha }} - run: tools/lint-readme-lists.mjs "$TEAMS" env: TEAMS: ${{ tojson(steps.team_members.outputs) }}