diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-12-14 08:25:15 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-12-21 18:24:29 +0100 |
commit | 95c80f5fb0668d11260abd43edbc3b15266391af (patch) | |
tree | 09b00d37af6b77843d1547dd55a0a6a99374b02c | |
parent | 9fc2479707efe87b9772cee03108f10ee7da760a (diff) | |
download | node-new-95c80f5fb0668d11260abd43edbc3b15266391af.tar.gz |
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: https://github.com/nodejs/node/pull/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>
-rw-r--r-- | .github/workflows/close-stalled.yml | 1 | ||||
-rw-r--r-- | .github/workflows/comment-stalled.yml | 1 | ||||
-rw-r--r-- | .github/workflows/license-builder.yml | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/close-stalled.yml b/.github/workflows/close-stalled.yml index 1834d3ac2e..916baf0463 100644 --- a/.github/workflows/close-stalled.yml +++ b/.github/workflows/close-stalled.yml @@ -5,6 +5,7 @@ on: jobs: stale: + if: github.repository == 'nodejs/node' runs-on: ubuntu-latest steps: - uses: actions/stale@v3 diff --git a/.github/workflows/comment-stalled.yml b/.github/workflows/comment-stalled.yml index 62bd26f39e..1c21505c4a 100644 --- a/.github/workflows/comment-stalled.yml +++ b/.github/workflows/comment-stalled.yml @@ -7,6 +7,7 @@ on: jobs: staleComment: + if: github.repository == 'nodejs/node' runs-on: ubuntu-latest steps: - name: Post comment diff --git a/.github/workflows/license-builder.yml b/.github/workflows/license-builder.yml index 714aeb1c14..115bef9977 100644 --- a/.github/workflows/license-builder.yml +++ b/.github/workflows/license-builder.yml @@ -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 |