Browse Source

feat(ci): Update the sdk_update workflow to not run on forks. (#1375)

Skyler Mäntysaari 2 years ago
parent
commit
66cd7dd809
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/dispatch_sdk_update.yml

+ 1 - 0
.github/workflows/dispatch_sdk_update.yml

@@ -8,6 +8,7 @@ on:
 jobs:
   update-sdk-repos:
     runs-on: ubuntu-latest
+    if: ${{ !github.event.pull_request.head.repo.fork }}
     steps:
       - uses: actions/github-script@v6
         with: