mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
meta: skip scheduled workflows on forks
Guards scheduled jobs in daily.yml, codeql.yml, and scorecard.yml so they only run on nodejs/node, matching the pattern already used in tools.yml, stale.yml, and others. This prevents wasted Actions minutes and failed-run email notifications on forks. Signed-off-by: Jamie Magee <jamie.magee@gmail.com> PR-URL: https://github.com/nodejs/node/pull/63565 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
1 parent
4ec142314c
commit
6201cfe488
3 files changed
+3
No files matched your search
@@ -9,6 +9,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
if: github.repository == 'nodejs/node'
|
||||
name: Analyze
|
||||
runs-on: ubuntu-slim
|
||||
permissions:
|
||||
|
||||
@@ -13,6 +13,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
build-lto:
|
||||
if: github.repository == 'nodejs/node' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
@@ -20,6 +20,7 @@ permissions: read-all
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
if: github.repository == 'nodejs/node' || github.event_name == 'workflow_dispatch'
|
||||
name: Scorecard analysis
|
||||
# cannot use ubuntu-slim here because ossf/scorecard-action is dockerized
|
||||
# cannot use ubuntu-24.04-arm here because the docker image is x86 only
|
||||
|
||||
Reference in new issue
Block a user