diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-12-14 10:25:15 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-05-01 10:44:45 +0300 |
commit | dcbcd9e045b1e971cf834069b9f51182b089cece (patch) | |
tree | f7290c19dbb57260324287e1690d2f9c511b51bc /.github | |
parent | eba2dc5330a7457a00d346839f04ffbc3ea50a87 (diff) |
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>
Diffstat (limited to '.github')
-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 1834d3ac2e6..916baf0463f 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 62bd26f39eb..1c21505c4ad 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 714aeb1c149..115bef9977d 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 |