chore: switch all references of graycore/github-actions-magento2 to mage-os/github-actions

This commit is contained in:
Vinai Kopp
2023-06-17 09:49:31 +02:00
parent 7b813336fa
commit 1dc33c08a1
23 changed files with 46 additions and 46 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
# $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ # $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
# $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ # $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
# #
# The configuration for Code Owners for graycoreio/magento2-github-actions. # The configuration for Code Owners for mgae-os/github-actions.
# #
# For more info see: https://help.github.com/articles/about-codeowners/ # For more info see: https://help.github.com/articles/about-codeowners/
# #
+1 -1
View File
@@ -1,7 +1,7 @@
## PR Checklist ## PR Checklist
Please check if your PR fulfills the following requirements: Please check if your PR fulfills the following requirements:
- [ ] The commit message follows our guidelines: https://github.com/graycoreio/github-actions-magento2/blob/main/CONTRIBUTING.md#commit - [ ] The commit message follows our guidelines: https://github.com/mage-os/github-actions/blob/main/CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features)
+2 -2
View File
@@ -47,5 +47,5 @@ jobs:
composer_version: ${{ matrix.composer }} composer_version: ${{ matrix.composer }}
php_version: ${{ matrix.php }} php_version: ${{ matrix.php }}
magento_version: ${{ matrix.magento }} magento_version: ${{ matrix.magento }}
package_name: graycore/magento2-demo-package package_name: mage-os/magento2-demo-package
source_folder: $GITHUB_WORKSPACE/_test/demo-package source_folder: $GITHUB_WORKSPACE/_test/demo-package
+2 -2
View File
@@ -37,8 +37,8 @@ jobs:
needs: compute_matrix needs: compute_matrix
uses: ./.github/workflows/integration.yaml uses: ./.github/workflows/integration.yaml
with: with:
package_name: graycore/magento2-demo-package package_name: mage-os/magento2-demo-package
source_folder: $GITHUB_WORKSPACE/_test/demo-package source_folder: $GITHUB_WORKSPACE/_test/demo-package
matrix: ${{ needs.compute_matrix.outputs.matrix }} matrix: ${{ needs.compute_matrix.outputs.matrix }}
test_command: ../../../vendor/bin/phpunit ../../../vendor/graycore/magento2-demo-package/Test/Integration test_command: ../../../vendor/bin/phpunit ../../../vendor/mage-os/magento2-demo-package/Test/Integration
fail-fast: false fail-fast: false
@@ -93,7 +93,7 @@ jobs:
mode: store mode: store
working-directory: ${{ env.magento_folder }} working-directory: ${{ env.magento_folder }}
- uses: graycoreio/github-actions-magento2/cache-magento@main - uses: mage-os/github-actions/cache-magento@main
with: with:
mode: 'store' mode: 'store'
composer_cache_key: '${{ matrix.magento }}' composer_cache_key: '${{ matrix.magento }}'
@@ -116,7 +116,7 @@ jobs:
mode: extension mode: extension
magento_version: magento/project-community-edition:2.4.5-p1 magento_version: magento/project-community-edition:2.4.5-p1
- uses: graycoreio/github-actions-magento2/cache-magento@main - uses: mage-os/github-actions/cache-magento@main
with: with:
mode: 'extension' mode: 'extension'
composer_cache_key: 'magento/project-community-edition:2.4.5-p1' composer_cache_key: 'magento/project-community-edition:2.4.5-p1'
+3 -3
View File
@@ -24,7 +24,7 @@ See the [integration.yaml](./integration.yaml)
### Matrix Format ### Matrix Format
The Magento matrix format outlined by the [supported versions action.](https://github.com/graycoreio/github-actions-magento2/tree/main/supported-version/supported.json) The Magento matrix format outlined by the [supported versions action.](https://github.com/mage-os/github-actions/tree/main/supported-version/supported.json)
## Usage ## Usage
@@ -47,12 +47,12 @@ jobs:
matrix: ${{ steps.supported-version.outputs.matrix }} matrix: ${{ steps.supported-version.outputs.matrix }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: graycoreio/github-actions-magento2/supported-version@main - uses: mage-os/github-actions/supported-version@main
id: supported-version id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }} - run: echo ${{ steps.supported-version.outputs.matrix }}
integration-workflow: integration-workflow:
needs: compute_matrix needs: compute_matrix
uses: graycoreio/github-actions-magento2/.github/workflows/integration.yaml@main uses: mage-os/github-actions/.github/workflows/integration.yaml@main
with: with:
package_name: my-vendor/package package_name: my-vendor/package
matrix: ${{ needs.compute_matrix.outputs.matrix }} matrix: ${{ needs.compute_matrix.outputs.matrix }}
+1 -1
View File
@@ -108,7 +108,7 @@ jobs:
COMPOSER_AUTH: ${{ secrets.composer_auth }} COMPOSER_AUTH: ${{ secrets.composer_auth }}
name: Create Magento ${{ matrix.magento }} Project name: Create Magento ${{ matrix.magento }} Project
- uses: graycoreio/github-actions-magento2/get-magento-version@main - uses: mage-os/github-actions/get-magento-version@main
id: magento-version id: magento-version
with: with:
working-directory: ${{ inputs.magento_directory }} working-directory: ${{ inputs.magento_directory }}
+1 -1
View File
@@ -35,7 +35,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
## Enforcement ## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project lead at [damien@graycore.io](mailto:damien@graycore.io). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project lead at [board@mage-os.org](mailto:board@mage-os.org). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
+9 -9
View File
@@ -16,9 +16,9 @@ Help us keep "Github Actions for Magento 2" open and inclusive. Please read and
## <a name="question"></a> Got a Question or Problem? ## <a name="question"></a> Got a Question or Problem?
Do not open issues for general support questions as we want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [Discussions](https://github.com/graycoreio/github-actions-magento2/discussions). Do not open issues for general support questions as we want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [Discussions](https://github.com/mage-os/github-actions/discussions).
To save your and our time, we will systematically close all issues that are requests for general support and redirect people to [Discussions](https://github.com/graycoreio/github-actions-magento2/discussions). To save your and our time, we will systematically close all issues that are requests for general support and redirect people to [Discussions](https://github.com/mage-os/github-actions/discussions).
## <a name="issue"></a> Found a Bug? ## <a name="issue"></a> Found a Bug?
If you find a bug in the source code, you can help us by If you find a bug in the source code, you can help us by
@@ -54,15 +54,15 @@ We will be insisting on a minimal reproduce scenario in order to save maintainer
Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced. Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.
You can file new issues by filling out our [new issue form](https://github.com/graycoreio/github-actions-magento2/issues/new/choose). You can file new issues by filling out our [new issue form](https://github.com/mage-os/github-actions/issues/new/choose).
### <a name="submit-pr"></a> Submitting a Pull Request (PR) ### <a name="submit-pr"></a> Submitting a Pull Request (PR)
Before you submit your Pull Request (PR) consider the following guidelines: Before you submit your Pull Request (PR) consider the following guidelines:
1. Search [GitHub](https://github.com/graycoreio/github-actions-magento2/pulls) for an open or closed PR 1. Search [GitHub](https://github.com/mage-os/github-actions/pulls) for an open or closed PR
that relates to your submission. You don't want to duplicate effort. that relates to your submission. You don't want to duplicate effort.
1. Fork the [graycoreio/github-actions-magento2](https://github.com/graycoreio/github-actions-magento2) repo. 1. Fork the [mage-os/github-actions](https://github.com/mage-os/github-actions) repo.
1. Make your changes in a new git branch: 1. Make your changes in a new git branch:
```shell ```shell
@@ -161,7 +161,7 @@ to read on GitHub as well as in various git tools.
The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any. The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.
Samples: (even more [samples](https://github.com/graycoreio/github-actions-magento2/commits/main)) Samples: (even more [samples](https://github.com/mage-os/github-actions/commits/main))
``` ```
docs(changelog): update changelog to beta.5 docs(changelog): update changelog to beta.5
@@ -217,7 +217,7 @@ reference GitHub issues that this commit **Closes**.
A detailed explanation can be found in this [document][commit-message-format]. A detailed explanation can be found in this [document][commit-message-format].
[coc]: https://github.com/graycoreio/github-actions-magento2/code-of-conduct/blob/main/CODE_OF_CONDUCT.md [coc]: https://github.com/mage-os/github-actions/code-of-conduct/blob/main/CODE_OF_CONDUCT.md
[commit-message-format]: https://www.conventionalcommits.org/en/v1.0.0/ [commit-message-format]: https://www.conventionalcommits.org/en/v1.0.0/
[github]: https://github.com/graycoreio/github-actions-magento2 [github]: https://github.com/mage-os/github-actions
[discussions]: https://github.com/graycoreio/github-actions-magento2/discussions [discussions]: https://github.com/mage-os/github-actions/discussions
+5 -5
View File
@@ -2,10 +2,10 @@
<div align="center"> <div align="center">
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/graycoreio/github-actions-magento2) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/mage-os/github-actions-magento2)
[![Unit Test](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-unit.yaml/badge.svg)](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-unit.yaml) [![Unit Test](https://github.com/mage-os/github-actions/actions/workflows/_internal-unit.yaml/badge.svg)](https://github.com/mage-os/github-actions/actions/workflows/_internal-unit.yaml)
[![Integration Test](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-integration.yaml/badge.svg)](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-integration.yaml) [![Integration Test](https://github.com/mage-os/github-actions/actions/workflows/_internal-integration.yaml/badge.svg)](https://github.com/mage-os/github-actions/actions/workflows/_internal-integration.yaml)
[![Installation Test](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-install.yaml/badge.svg)](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-install.yaml) [![Installation Test](https://github.com/mage-os/github-actions/actions/workflows/_internal-install.yaml/badge.svg)](https://github.com/mage-os/github-actions/actions/workflows/_internal-install.yaml)
</div> </div>
@@ -31,4 +31,4 @@ Opinionated Github Actions and Workflows to make building, testing, and maintain
| [Setup Magento](./setup-magento/README.md) | A Github Action that sets up Magento before `composer install` for an extension or store. | | [Setup Magento](./setup-magento/README.md) | A Github Action that sets up Magento before `composer install` for an extension or store. |
| [Get Magento Version](./get-magento-version/README.md) | A Github Action that computes the installed Magento version. | | [Get Magento Version](./get-magento-version/README.md) | A Github Action that computes the installed Magento version. |
| [Installation Test](./installation-test/README.md) | A Github Action that tests the installability of a Magento Package | | [Installation Test](./installation-test/README.md) | A Github Action that tests the installability of a Magento Package |
| [Supported Version](./supported-version/README.md) | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 | | [Supported Version](./supported-version/README.md) | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 |
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "graycore/magento2-demo-package", "name": "mage-os/magento2-demo-package",
"description": "A Magento 2 Demostration Package", "description": "A Magento 2 Demostration Package",
"type": "magento2-module", "type": "magento2-module",
"license": "MIT", "license": "MIT",
+3 -3
View File
@@ -9,7 +9,7 @@ See the [action.yml](./action.yml)
| Input | Description | Required | Default | | Input | Description | Required | Default |
| ------------------ | -------------------------------------------------------------------------------------- | -------- | ------------ | | ------------------ | -------------------------------------------------------------------------------------- | -------- | ------------ |
| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__graycore' | | composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__mageos' |
| mode | "The mode for setup, one of: `extension` or `store`." | true | N/A | | mode | "The mode for setup, one of: `extension` or `store`." | true | N/A |
| magento_directory | The Magento directory for the action to run against. | true | N/A | | magento_directory | The Magento directory for the action to run against. | true | N/A |
@@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: graycoreio/github-actions-magento2/cache-magento@main - uses: mage-os/github-actions/cache-magento@main
with: with:
magento_directory: $GITHUB_WORKSPACE magento_directory: $GITHUB_WORKSPACE
mode: 'store' mode: 'store'
@@ -40,4 +40,4 @@ jobs:
- run: composer install - run: composer install
shell: bash shell: bash
name: Composer install name: Composer install
``` ```
+1 -1
View File
@@ -5,7 +5,7 @@ description: "A Github Action that creates a composer cache for a Magento extens
inputs: inputs:
composer_cache_key: composer_cache_key:
required: false required: false
default: "__graycore" default: "__mageos"
description: A key to version the composer cache. Can be incremented if you need to bust the cache. description: A key to version the composer cache. Can be incremented if you need to bust the cache.
mode: mode:
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
coding-standard: coding-standard:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: graycoreio/github-actions-magento2/coding-standard@main - uses: mage-os/github-actions/coding-standard@main
with: with:
version: 25 # Optional, will use the latest if omitted. version: 25 # Optional, will use the latest if omitted.
path: app/code # Optional, will be used when event is not a pull request. path: app/code # Optional, will be used when event is not a pull request.
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: graycoreio/github-actions-magento2/fix-magento-install@main - uses: mage-os/github-actions/fix-magento-install@main
with: with:
magento_directory: path/to/magento magento_directory: path/to/magento
``` ```
+1 -1
View File
@@ -9,7 +9,7 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- uses: graycoreio/github-actions-magento2/get-magento-version@main - uses: mage-os/github-actions/get-magento-version@main
id: init-magento-get-magento-version id: init-magento-get-magento-version
with: with:
working-directory: ${{ inputs.magento_directory }} working-directory: ${{ inputs.magento_directory }}
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
name: A job to compute an installed Magento version. name: A job to compute an installed Magento version.
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: graycoreio/github-actions-magento2/get-magento-version@main - uses: mage-os/github-actions/get-magento-version@main
id: get-magento-version id: get-magento-version
- run: echo version ${{ steps.get-magento-version.outputs.version }} - run: echo version ${{ steps.get-magento-version.outputs.version }}
shell: bash shell: bash
+2 -2
View File
@@ -26,7 +26,7 @@ jobs:
matrix: ${{ steps.supported-version.outputs.matrix }} matrix: ${{ steps.supported-version.outputs.matrix }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: graycoreio/github-actions-magento2/supported-version@main - uses: mage-os/github-actions/supported-version@main
id: supported-version id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }} - run: echo ${{ steps.supported-version.outputs.matrix }}
@@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: graycoreio/github-actions-magento2/installation-test@main - uses: mage-os/github-actions/installation-test@main
with: with:
composer_version: ${{ matrix.composer }} composer_version: ${{ matrix.composer }}
php_version: ${{ matrix.php }} php_version: ${{ matrix.php }}
+4 -4
View File
@@ -1,5 +1,5 @@
{ {
"name": "@graycore/github-actions-magento", "name": "@mage-os/github-actions",
"version": "1.3.0", "version": "1.3.0",
"description": "Github Actions for Magento 2", "description": "Github Actions for Magento 2",
"scripts": { "scripts": {
@@ -9,14 +9,14 @@
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/graycoreio/github-actions-magento2.git" "url": "git+https://github.com/mage-os/github-actions.git"
}, },
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
"url": "https://github.com/graycoreio/github-actions-magento2/issues" "url": "https://github.com/mage-os/github-actions/issues"
}, },
"homepage": "https://github.com/graycoreio/github-actions-magento2#readme", "homepage": "https://github.com/mage-os/github-actions#readme",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.0" "@actions/core": "^1.10.0"
}, },
+1 -1
View File
@@ -84,7 +84,7 @@ runs:
name: Create Magento ${{ inputs.magento_version }} Project name: Create Magento ${{ inputs.magento_version }} Project
if: inputs.mode == 'extension' if: inputs.mode == 'extension'
- uses: graycoreio/github-actions-magento2/fix-magento-install@main - uses: mage-os/github-actions/fix-magento-install@main
name: Fix Magento Out of Box Install Issues name: Fix Magento Out of Box Install Issues
with: with:
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }} magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
outputs: outputs:
matrix: ${{ steps.supported-version.outputs.matrix }} matrix: ${{ steps.supported-version.outputs.matrix }}
steps: steps:
- uses: graycoreio/github-actions-magento2/supported-version@main - uses: mage-os/github-actions/supported-version@main
id: supported-version id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }} - run: echo ${{ steps.supported-version.outputs.matrix }}
``` ```
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "@graycore/github-actions-magento2-supported-version", "name": "@mage-os/github-actions-supported-version",
"version": "1.0.0", "version": "1.0.0",
"description": "A Github Action that computes the currently supported Github Actions Matrix for Magento 2 Versions", "description": "A Github Action that computes the currently supported Github Actions Matrix for Magento 2 Versions",
"main": "index.js", "main": "index.js",
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: graycoreio/github-actions-magento2/unit-test@main - uses: mage-os/github-actions/unit-test@main
with: with:
php_version: ${{ matrix.php_version }} php_version: ${{ matrix.php_version }}
composer_auth: ${{ secrets.COMPOSER_AUTH }} composer_auth: ${{ secrets.COMPOSER_AUTH }}