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 3f889a6
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://raw.githubusercontent.com/$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 3f889a6

Please sign in to comment.