فهرست منبع

enable restriction on workflows

Dan Allen 3 سال پیش
والد
کامیت
ca1a83fd06
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      .github/workflows/deploy-docs.yml
  2. 1 1
      .github/workflows/rebuild-search-index.yml

+ 1 - 1
.github/workflows/deploy-docs.yml

@@ -4,7 +4,7 @@ on:
 permissions: read-all
 jobs:
   build:
-    #if: github.repository_owner == 'spring-projects'
+    if: github.repository_owner == 'spring-projects'
     runs-on: ubuntu-latest
     steps:
     - name: Checkout

+ 1 - 1
.github/workflows/rebuild-search-index.yml

@@ -4,7 +4,7 @@ on:
 permissions: read-all
 jobs:
   build:
-    #if: github.repository_owner == 'spring-projects'
+    if: github.repository_owner == 'spring-projects'
     runs-on: ubuntu-latest
     steps:
     - name: Checkout