Skip to content

Commit 869adbb

Browse files
hide builds using dedicated runners from forks (#7377)
1 parent 9e3bbcb commit 869adbb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/macos-generation.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ defaults:
4040

4141
jobs:
4242
build:
43+
#
44+
# "macos-vmware" is dedicated runner not available in forks.
45+
# to reduce undesired run attempts in forks, stick jobs to "actions" organization only
46+
#
4347
runs-on: macos-vmware
48+
if: ${{ github.repository_owner == 'actions' }}
4449
timeout-minutes: 1200
4550
steps:
4651
- uses: azure/login@v1

.github/workflows/ubuntu-win-generation.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ defaults:
2424

2525
jobs:
2626
build:
27+
#
28+
# "azure-builds" is dedicated runner not available in forks.
29+
# to reduce undesired run attempts in forks, stick jobs to "actions" organization only
30+
#
2731
runs-on: azure-builds
32+
if: ${{ github.repository_owner == 'actions' }}
2833
timeout-minutes: 1200
2934
steps:
3035
- name: Determine checkout type

0 commit comments

Comments
 (0)