Selaa lähdekoodia

(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 vuosi sitten
vanhempi
sitoutus
c2c363b0ec
2 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 2 0
      .github/workflows/deploy-docs.yml
  2. 5 0
      .github/workflows/ghcr.yml

+ 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: