1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-23 21:01:49 +00:00

Do not run GitHub workflows on forks (#1107)

This commit is contained in:
Jenn Magder
2022-04-25 16:27:30 -07:00
committed by GitHub
parent 13ae9ff013
commit 6f5d2777cc
4 changed files with 13 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ jobs:
# need to test.
stable-tests-on-beta:
runs-on: ${{ matrix.os }}
if: github.repository == 'flutter/samples'
strategy:
fail-fast: false
matrix:
@@ -38,6 +39,7 @@ jobs:
# channel.
android-build:
runs-on: ubuntu-latest
if: github.repository == 'flutter/samples'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@9519cf1382ac8dc61ad461f7f7cb45f033220189
@@ -52,6 +54,7 @@ jobs:
# channel.
ios-build:
runs-on: macos-latest
if: github.repository == 'flutter/samples'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@9519cf1382ac8dc61ad461f7f7cb45f033220189