Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/check-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: graycoreio/github-actions-magento2/setup-magento@main
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
id: setup-magento
with:
php-version: ${{ matrix.php }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
env:
COMPOSER_AUTH: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: graycoreio/github-actions-magento2/setup-magento@main
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
id: setup-magento
with:
php-version: ${{ matrix.php }}
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
env:
COMPOSER_AUTH: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand All @@ -161,7 +161,7 @@ jobs:
COMPOSER_AUTH: ${{ secrets.composer_auth }}
COMPOSER_MIRROR_PATH_REPOS: 1

- uses: graycoreio/github-actions-magento2/setup-di-compile@main
- uses: graycoreio/github-actions-magento2/setup-di-compile@v8.1.0
with:
path: ${{ steps.setup-magento.outputs.path }}

Expand All @@ -170,7 +170,7 @@ jobs:
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: graycoreio/github-actions-magento2/supported-version@main
- uses: graycoreio/github-actions-magento2/supported-version@v8.1.0
id: supported-version
with:
kind: latest
Expand All @@ -190,11 +190,11 @@ jobs:
tools: composer:v${{ matrix.composer }}
coverage: none

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}

- uses: graycoreio/github-actions-magento2/coding-standard@main
- uses: graycoreio/github-actions-magento2/coding-standard@v8.1.0
with:
path: ${{ inputs.path }}
composer_auth: ${{ secrets.composer_auth }}
Expand All @@ -208,7 +208,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: graycoreio/github-actions-magento2/setup-magento@main
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
id: setup-magento
with:
php-version: ${{ matrix.php }}
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
env:
COMPOSER_AUTH: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand All @@ -250,7 +250,7 @@ jobs:
COMPOSER_AUTH: ${{ secrets.composer_auth }}
COMPOSER_MIRROR_PATH_REPOS: 1

- uses: graycoreio/github-actions-magento2/get-magento-version@main
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
id: magento-version
with:
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/check-store.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ jobs:
name: ${{ inputs.store_artifact_name }}
path: ${{ inputs.path }}

- uses: graycoreio/github-actions-magento2/get-magento-version@main
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
id: get-magento-version
with:
working-directory: ${{ inputs.path }}

- uses: graycoreio/github-actions-magento2/supported-version@main
- uses: graycoreio/github-actions-magento2/supported-version@v8.1.0
id: supported-version
with:
kind: custom
custom_versions: ${{ steps.get-magento-version.outputs.project }}:${{ fromJSON(steps.get-magento-version.outputs.version) }}

- uses: graycoreio/github-actions-magento2/resolve-check-config@main
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.1.0
id: resolve
with:
kind: store
Expand All @@ -80,7 +80,7 @@ jobs:
name: ${{ inputs.store_artifact_name }}
path: ${{ inputs.path }}

- uses: graycoreio/github-actions-magento2/setup-magento@main
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
id: setup-magento
with:
php-version: ${{ matrix.php }}
Expand All @@ -89,7 +89,7 @@ jobs:
working-directory: ${{ inputs.path }}
composer_auth: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
name: ${{ inputs.store_artifact_name }}
path: ${{ inputs.path }}

- uses: graycoreio/github-actions-magento2/setup-magento@main
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
id: setup-magento
with:
php-version: ${{ matrix.php }}
Expand All @@ -152,7 +152,7 @@ jobs:
working-directory: ${{ inputs.path }}
composer_auth: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand All @@ -177,7 +177,7 @@ jobs:
EOF
fi

- uses: graycoreio/github-actions-magento2/coding-standard@main
- uses: graycoreio/github-actions-magento2/coding-standard@v8.1.0
with:
path: ${{ steps.setup-magento.outputs.path }}
composer_auth: ${{ secrets.composer_auth }}
Expand All @@ -200,7 +200,7 @@ jobs:
name: ${{ inputs.store_artifact_name }}
path: ${{ inputs.path }}

- uses: graycoreio/github-actions-magento2/setup-magento@main
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
id: setup-magento
with:
php-version: ${{ matrix.php }}
Expand All @@ -209,7 +209,7 @@ jobs:
working-directory: ${{ inputs.path }}
composer_auth: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/cache-magento@main
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
with:
composer_cache_key: ${{ inputs.composer_cache_key }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand All @@ -221,23 +221,23 @@ jobs:
env:
COMPOSER_AUTH: ${{ secrets.composer_auth }}

- uses: graycoreio/github-actions-magento2/setup-install@main
- uses: graycoreio/github-actions-magento2/setup-install@v8.1.0
id: setup-install
with:
services: ${{ toJSON(matrix.services) }}
path: ${{ steps.setup-magento.outputs.path }}
container_id: ${{ job.services['php-fpm'].id }}
extra_args: --magento-init-params=MAGE_MODE=developer

- uses: graycoreio/github-actions-magento2/configure-service-nginx@main
- uses: graycoreio/github-actions-magento2/configure-service-nginx@v8.1.0
with:
container_id: ${{ job.services.nginx.id }}
magento_path: ${{ inputs.path }}

- uses: graycoreio/github-actions-magento2/smoke-test@main
- uses: graycoreio/github-actions-magento2/smoke-test@v8.1.0
with:
kind: page

- uses: graycoreio/github-actions-magento2/smoke-test@main
- uses: graycoreio/github-actions-magento2/smoke-test@v8.1.0
with:
kind: graphql
2 changes: 1 addition & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
COMPOSER_AUTH: ${{ secrets.composer_auth }}
name: Create Magento ${{ matrix.magento }} Project

- uses: graycoreio/github-actions-magento2/get-magento-version@main
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
id: magento-version
with:
working-directory: ${{ inputs.magento_directory }}
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"8.0.0"}
{".":"8.1.0"}
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [8.1.0](https://github.com/graycoreio/github-actions-magento2/compare/v8.0.0...v8.1.0) (2026-05-17)


### Features

* **check-store:** add smoke-test action and use resolve-check-config ([#255](https://github.com/graycoreio/github-actions-magento2/issues/255)) ([e39dd46](https://github.com/graycoreio/github-actions-magento2/commit/e39dd46f9c53a0d2625cd5d19ad1cf18565b8c5c))
* **configure-service-nginx:** add ability to adjust nginx conf after init ([#255](https://github.com/graycoreio/github-actions-magento2/issues/255)) ([0c7d14d](https://github.com/graycoreio/github-actions-magento2/commit/0c7d14d88573d92c81654b1107ef6a9e4d918cff))
* **resolve-check-config:** add ability to use a config file to adjust jobs ([#255](https://github.com/graycoreio/github-actions-magento2/issues/255)) ([b98313e](https://github.com/graycoreio/github-actions-magento2/commit/b98313e10044a0a6a04546d3ff8ebe3a3f284f5b))
* **setup-install:** add a container_id input to run setup:install against a specific container ([#255](https://github.com/graycoreio/github-actions-magento2/issues/255)) ([6d4ca8d](https://github.com/graycoreio/github-actions-magento2/commit/6d4ca8d669164d840d99e8af721309abb9f204ea))
* **smoke-test:** add simple smoke test action ([#255](https://github.com/graycoreio/github-actions-magento2/issues/255)) ([b790da1](https://github.com/graycoreio/github-actions-magento2/commit/b790da18597e58a9013cc0f7e2c923f08c82f813))
* **supported-version:** add service_preferences and support for php-fpm and nginx ([#255](https://github.com/graycoreio/github-actions-magento2/issues/255)) ([e89f6ad](https://github.com/graycoreio/github-actions-magento2/commit/e89f6ad2e08fcaa03cba92c8371e60ba67b3cf62))


### Bug Fixes

* **check-extension:** only run coding-standard on most recent version of Magento ([#265](https://github.com/graycoreio/github-actions-magento2/issues/265)) ([8e82fcc](https://github.com/graycoreio/github-actions-magento2/commit/8e82fcc89354c83523781c1f5fd4622dec19ca7b))

## [8.0.0](https://github.com/graycoreio/github-actions-magento2/compare/v8.0.0-rc.2...v8.0.0) (2026-05-14)


Expand Down
8 changes: 4 additions & 4 deletions cache-magento/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ The `composer.lock` hash is derived from `working-directory/composer.lock` using
### Extension (download cache only)

```yml
- uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0 # x-release-please-version
with:
composer_cache_key: ${{ inputs.composer_cache_key }}
```

### Extension or store (download + vendor stamp cache)

```yml
- uses: graycoreio/github-actions-magento2/setup-magento@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0 # x-release-please-version
id: setup-magento
with:
mode: extension # or store
# ...

- uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0 # x-release-please-version
with:
composer_cache_key: ${{ inputs.composer_cache_key }}
working-directory: ${{ steps.setup-magento.outputs.path }}
Expand All @@ -69,7 +69,7 @@ As such, use `stamp: true` when `composer.lock` is stable across most runs — a
> **Dependabot / Renovate:** Each time a Dependabot or Renovate PR is merged, the remaining open PRs rebase and each produces a new `composer.lock`. This cascades into a large number of unique cache entries, inflating storage costs without delivering proportional compute savings — because automated PRs are not waiting on fast feedback. The fix is to disable stamp caching for automated dependency PRs entirely:
>
> ```yml
> - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0 # x-release-please-version
> - uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0 # x-release-please-version
> with:
> stamp: ${{ github.actor != 'dependabot[bot]' }}
> ```
Expand Down
2 changes: 1 addition & 1 deletion cache-magento/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
exit 1
fi

- uses: graycoreio/github-actions-magento2/get-magento-version@main
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
id: cache-magento-get-magento-version
with:
working-directory: ${{ inputs.working-directory }}
Expand Down
2 changes: 1 addition & 1 deletion coding-standard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
tools: composer:v2
coverage: none

- uses: graycoreio/github-actions-magento2/coding-standard@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/coding-standard@v8.1.0 # x-release-please-version
with:
path: app/code # Optional, defaults to .
version: 25 # Optional, will use the latest if omitted.
Expand Down
4 changes: 2 additions & 2 deletions coding-standard/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ runs:
fi

- name: Get Composer Version
uses: graycoreio/github-actions-magento2/get-composer-version@main
uses: graycoreio/github-actions-magento2/get-composer-version@v8.1.0
id: get-composer-version
if: steps.check-installed.outputs.installed != 'true'

- name: Check if allow-plugins option is available for this version of composer
uses: graycoreio/github-actions-magento2/semver-compare@main
uses: graycoreio/github-actions-magento2/semver-compare@v8.1.0
id: is-allow-plugins-available
if: steps.check-installed.outputs.installed != 'true'
with:
Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/check-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: actions/checkout@v6
- uses: graycoreio/github-actions-magento2/supported-version@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/supported-version@v8.1.0 # x-release-please-version
id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }}
check-extension:
needs: compute_matrix
uses: graycoreio/github-actions-magento2/.github/workflows/check-extension.yaml@v8.0.0 # x-release-please-version
uses: graycoreio/github-actions-magento2/.github/workflows/check-extension.yaml@v8.1.0 # x-release-please-version
with:
matrix: ${{ needs.compute_matrix.outputs.matrix }}
```
4 changes: 2 additions & 2 deletions docs/workflows/check-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ on:

jobs:
check-store:
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.0.0 # x-release-please-version
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.1.0 # x-release-please-version
secrets:
composer_auth: ${{ secrets.COMPOSER_AUTH }}
```
Expand All @@ -70,7 +70,7 @@ If your pipeline builds or prepares the store in a prior job and uploads it as a
```yml
jobs:
check-store:
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.0.0 # x-release-please-version
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.1.0 # x-release-please-version
secrets:
composer_auth: ${{ secrets.COMPOSER_AUTH }}
```
4 changes: 2 additions & 2 deletions docs/workflows/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: actions/checkout@v6
- uses: graycoreio/github-actions-magento2/supported-version@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/supported-version@v8.1.0 # x-release-please-version
with:
include_services: true
id: supported-version
integration-workflow:
needs: compute_matrix
uses: graycoreio/github-actions-magento2/.github/workflows/integration.yaml@v8.0.0 # x-release-please-version
uses: graycoreio/github-actions-magento2/.github/workflows/integration.yaml@v8.1.0 # x-release-please-version
with:
package_name: my-vendor/package
matrix: ${{ needs.compute_matrix.outputs.matrix }}
Expand Down
2 changes: 1 addition & 1 deletion fix-magento-install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.1.0 # x-release-please-version
with:
magento_directory: path/to/magento
```
2 changes: 1 addition & 1 deletion fix-magento-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: graycoreio/github-actions-magento2/get-magento-version@main
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
id: init-magento-get-magento-version
with:
working-directory: ${{ inputs.magento_directory }}
Expand Down
2 changes: 1 addition & 1 deletion get-composer-version/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: A job to compute an installed Composer version.
steps:
- uses: actions/checkout@v6
- uses: graycoreio/github-actions-magento2/get-composer-version@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/get-composer-version@v8.1.0 # x-release-please-version
id: get-composer-version
- run: echo version ${{ steps.get-composer-version.outputs.version }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion get-magento-version/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: A job to compute an installed Magento version.
steps:
- uses: actions/checkout@v6
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.0.0 # x-release-please-version
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0 # x-release-please-version
id: get-magento-version
- run: echo version ${{ steps.get-magento-version.outputs.version }}
shell: bash
Expand Down
Loading