Skip to content

Commit

Permalink
fixup! fixup! tools: add workflow to ensure README lists are in syn…
Browse files Browse the repository at this point in the history
…c with gh teams
  • Loading branch information
aduh95 committed Jul 17, 2024
1 parent e50561e commit 4857878
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/linters-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ 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: curl "https://patch-diff.githubusercontent.com/raw/$GITHUB_REPOSITORY/pull/${PULL_ID}.diff" | git apply --include=README.md
env:
PULL_ID: ${{ github.event.pull_request.number }}
- run: tools/lint-readme-lists.mjs "$TEAMS"
env:
TEAMS: ${{ tojson(steps.team_members.outputs) }}

0 comments on commit 4857878

Please sign in to comment.