Kaynağa Gözat

(workflow) ghcr.yml with paths/paths-ignore conditions for pull_request (#3240)

* ghcr.yml with paths/paths-ignore conditions for pull_request

* include evaluation folder

* removed paths, just paths-ignore now

* deploy-docs only for docs

* exclude evaluation folder

Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>

---------

Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
tobitege 1 yıl önce
ebeveyn
işleme
c2c363b0ec

+ 2 - 0
.github/workflows/deploy-docs.yml

@@ -5,6 +5,8 @@ on:
     branches:
       - main
   pull_request:
+    paths:
+      - 'docs/**'
     branches:
       - main
 

+ 5 - 0
.github/workflows/ghcr.yml

@@ -11,6 +11,11 @@ on:
     tags:
       - '*'
   pull_request:
+    paths-ignore:
+      - '**.md'
+      - 'docs/**'
+      - 'frontend/**'
+      - 'evaluation/**'
   workflow_dispatch:
     inputs:
       reason: