Skip to content

Commit 3e958d2

Browse files
authored
Workflows need to install node modules (#48093)
1 parent 117caea commit 3e958d2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/codeowners-legal.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
if: ${{ steps.filter.outputs.rai}}
4848
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
4949

50+
- name: Set up Node and dependencies
51+
uses: ./.github/actions/node-npm-setup
52+
5053
- name: Check content type
5154
id: checkContentType
5255
if: ${{ steps.filter.outputs.rai}}
@@ -60,7 +63,7 @@ jobs:
6063
env:
6164
# The GH CLI uses a slightly different env name for
6265
# the token than the GITHUB_TOKEN used by actions
63-
GH_TOKEN: ${{ github.token }}
66+
GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
6467
PR: ${{ github.event.pull_request.html_url }}
6568
run: |
6669
has_reviewer=$(

.github/workflows/triage-unallowed-contributions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Check out repo
2626
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
2727

28+
- name: Set up Node and dependencies
29+
uses: ./.github/actions/node-npm-setup
30+
2831
- name: Get files changed
2932
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
3033
id: filter

0 commit comments

Comments
 (0)