Преглед изворни кода

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