]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: prevents action from running on forks (#11766)
authorqiang <qw13131wang@gmail.com>
Mon, 2 Sep 2024 09:08:04 +0000 (17:08 +0800)
committerGitHub <noreply@github.com>
Mon, 2 Sep 2024 09:08:04 +0000 (17:08 +0800)
.github/workflows/ci.yml
.github/workflows/size-data.yml
.github/workflows/size-report.yml

index 1ae85e2077feef6ec41d1dccdde16536cd198007..c8c217f62c463c353ecb63785e6ecc599ae2cd8f 100644 (file)
@@ -16,6 +16,7 @@ jobs:
     uses: ./.github/workflows/test.yml
 
   continuous-release:
+    if: github.repository == 'vuejs/core'
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
index 3cd6cbfdf950e6dd14deb2b919833da2807c8ee7..7f8bf7b08caa7010e899a2fb79b4df5def930710 100644 (file)
@@ -18,6 +18,7 @@ env:
 
 jobs:
   upload:
+    if: github.repository == 'vuejs/core'
     runs-on: ubuntu-latest
 
     steps:
index 32e96dc64a5efc39567beb49b9471d21e5a4b66f..d8d0c416a674cd80014ebcda2b0c53f52334eefc 100644 (file)
@@ -18,6 +18,7 @@ jobs:
   size-report:
     runs-on: ubuntu-latest
     if: >
+      github.repository == 'vuejs/core' &&
       github.event.workflow_run.event == 'pull_request' &&
       github.event.workflow_run.conclusion == 'success'
     steps: