Explorar el Código

Restrict PR Docker builds to repo owner only

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris hace 5 meses
padre
commit
57640f49d2
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      .github/workflows/docker-publish.yml

+ 2 - 0
.github/workflows/docker-publish.yml

@@ -32,6 +32,7 @@ env:
 
 jobs:
   build-backend:
+    if: github.event_name != 'pull_request' || github.actor == 'tuanchris'
     runs-on: ubuntu-latest
     permissions:
       contents: read
@@ -70,6 +71,7 @@ jobs:
           cache-to: type=gha,mode=max,scope=backend
 
   build-frontend:
+    if: github.event_name != 'pull_request' || github.actor == 'tuanchris'
     runs-on: ubuntu-latest
     permissions:
       contents: read