diff --git a/.github/workflows/build-php-images.yml b/.github/workflows/build-php-images.yml index 408f577..9c7c1fa 100644 --- a/.github/workflows/build-php-images.yml +++ b/.github/workflows/build-php-images.yml @@ -1,11 +1,17 @@ name: Build PHP Images on: - # Uncomment below for testing purposes pull_request: + paths: + - 'images/**' + - '.github/workflows/build-php-images.yml' push: branches: - main + paths: + - 'images/**' + - '.github/workflows/build-php-images.yml' + workflow_dispatch: jobs: buildx: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9020821..4b795d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }}) +* Updated GitHub Actions to build images only on changes to images or workflows. + ## v1.6.1 - [November 4, 2024](https://github.com/lando/php/releases/tag/v1.6.1) * Updated to [@lando/vitepress-theme-default-plus@v1.1.0-beta.18](https://github.com/lando/vitepress-theme-default-plus/releases/tag/v1.1.0-beta.18).