Skip to content

Commit

Permalink
build: run some workflows only on nodejs/node
Browse files Browse the repository at this point in the history
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 <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
targos committed May 1, 2021
1 parent eba2dc5 commit dcbcd9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/close-stalled.yml
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
stale:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/comment-stalled.yml
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
staleComment:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- name: Post comment
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/license-builder.yml
Expand Up @@ -7,7 +7,8 @@ on:
workflow_dispatch:

jobs:
update_routes:
update_license:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit dcbcd9e

Please sign in to comment.