Skip to content

Commit 95c80f5

Browse files
committed
build: run some workflows only on nodejs/node
This updates the close-stalled, comment-stalled and license-builder workflows to skip them on repositories that are not nodejs/node. PR-URL: #36507 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 9fc2479 commit 95c80f5

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/close-stalled.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
stale:
8+
if: github.repository == 'nodejs/node'
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/stale@v3

.github/workflows/comment-stalled.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
staleComment:
10+
if: github.repository == 'nodejs/node'
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: Post comment

.github/workflows/license-builder.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
update_routes:
10+
update_license:
11+
if: github.repository == 'nodejs/node'
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)