Skip to content

πŸ™Œ OpenHands: AI-Driven Development

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

tobitegec2c363b0ecf1
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index 939e72bcb1..457caf7531 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -5,6 +5,8 @@ on:
branches:
- main
pull_request:
+ paths:
+ - 'docs/**'
branches:
- main
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml
index eae8a59057..5d4ed5e6e9 100644
--- a/.github/workflows/ghcr.yml
+++ b/.github/workflows/ghcr.yml
@@ -11,6 +11,11 @@ on:
tags:
- '*'
pull_request:
+ paths-ignore:
+ - '**.md'
+ - 'docs/**'
+ - 'frontend/**'
+ - 'evaluation/**'
workflow_dispatch:
inputs:
reason: