mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
feat!: replace mage-os/github-actions with graycoreio/github-actions-magento2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## PR Checklist
|
||||
Please check if your PR fulfills the following requirements:
|
||||
|
||||
- [ ] The commit message follows our guidelines: https://github.com/mage-os/github-actions/blob/main/CONTRIBUTING.md#commit
|
||||
- [ ] The commit message follows our guidelines: https://github.com/graycoreio/github-actions-magento2/blob/main/CONTRIBUTING.md#commit
|
||||
- [ ] Tests for the changes have been added (for bug fixes / features)
|
||||
- [ ] Docs have been added / updated (for bug fixes / features)
|
||||
|
||||
|
||||
+9
-9
@@ -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?
|
||||
|
||||
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).
|
||||
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).
|
||||
|
||||
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).
|
||||
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).
|
||||
|
||||
## <a name="issue"></a> Found a Bug?
|
||||
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.
|
||||
|
||||
You can file new issues by filling out our [new issue form](https://github.com/mage-os/github-actions/issues/new/choose).
|
||||
You can file new issues by filling out our [new issue form](https://github.com/graycoreio/github-actions-magento2/issues/new/choose).
|
||||
|
||||
|
||||
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
|
||||
Before you submit your Pull Request (PR) consider the following guidelines:
|
||||
|
||||
1. Search [GitHub](https://github.com/mage-os/github-actions/pulls) for an open or closed PR
|
||||
1. Search [GitHub](https://github.com/graycoreio/github-actions-magento2/pulls) for an open or closed PR
|
||||
that relates to your submission. You don't want to duplicate effort.
|
||||
1. Fork the [mage-os/github-actions](https://github.com/mage-os/github-actions) repo.
|
||||
1. Fork the [graycoreio/github-actions-magento2](https://github.com/graycoreio/github-actions-magento2) repo.
|
||||
1. Make your changes in a new git branch:
|
||||
|
||||
```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.
|
||||
|
||||
Samples: (even more [samples](https://github.com/mage-os/github-actions/commits/main))
|
||||
Samples: (even more [samples](https://github.com/graycoreio/github-actions-magento2/commits/main))
|
||||
|
||||
```
|
||||
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].
|
||||
|
||||
|
||||
[coc]: https://github.com/mage-os/github-actions/code-of-conduct/blob/main/CODE_OF_CONDUCT.md
|
||||
[coc]: https://github.com/graycoreio/github-actions-magento2/code-of-conduct/blob/main/CODE_OF_CONDUCT.md
|
||||
[commit-message-format]: https://www.conventionalcommits.org/en/v1.0.0/
|
||||
[github]: https://github.com/mage-os/github-actions
|
||||
[discussions]: https://github.com/mage-os/github-actions/discussions
|
||||
[github]: https://github.com/graycoreio/github-actions-magento2
|
||||
[discussions]: https://github.com/graycoreio/github-actions-magento2/discussions
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||

|
||||
[](https://github.com/mage-os/github-actions/actions/workflows/_internal-unit.yaml)
|
||||
[](https://github.com/mage-os/github-actions/actions/workflows/_internal-integration.yaml)
|
||||
[](https://github.com/mage-os/github-actions/actions/workflows/_internal-install.yaml)
|
||||

|
||||
[](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-unit.yaml)
|
||||
[](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-integration.yaml)
|
||||
[](https://github.com/graycoreio/github-actions-magento2/actions/workflows/_internal-install.yaml)
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: mage-os/github-actions/cache-magento@main
|
||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||
with:
|
||||
mode: 'store'
|
||||
id: cache-magento
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
coding-standard:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mage-os/github-actions/coding-standard-baseline@main
|
||||
- uses: graycoreio/github-actions-magento2/coding-standard-baseline@main
|
||||
with:
|
||||
head_repo: "mage-os/mageos-magento2"
|
||||
head_ref: "main"
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
coding-standard:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mage-os/github-actions/coding-standard@main
|
||||
- uses: graycoreio/github-actions-magento2/coding-standard@main
|
||||
with:
|
||||
version: 25 # Optional, will use the latest if omitted.
|
||||
path: app/code # Optional, will be used when event is not a pull request.
|
||||
|
||||
@@ -63,11 +63,11 @@ runs:
|
||||
coverage: none
|
||||
|
||||
- name: Get Composer Version
|
||||
uses: mage-os/github-actions/get-composer-version@main
|
||||
uses: graycoreio/github-actions-magento2/get-composer-version@main
|
||||
id: get-composer-version
|
||||
|
||||
- name: Check if allow-plugins option is available for this version of composer
|
||||
uses: mage-os/github-actions/semver-compare@main
|
||||
uses: graycoreio/github-actions-magento2/semver-compare@main
|
||||
with:
|
||||
version: 2.2
|
||||
compare_against: ${{ steps.get-composer-version.outputs.version }}
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: mage-os/github-actions/fix-magento-install@main
|
||||
- uses: graycoreio/github-actions-magento2/fix-magento-install@main
|
||||
with:
|
||||
magento_directory: path/to/magento
|
||||
```
|
||||
|
||||
@@ -9,7 +9,7 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: mage-os/github-actions/get-magento-version@main
|
||||
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||
id: init-magento-get-magento-version
|
||||
with:
|
||||
working-directory: ${{ inputs.magento_directory }}
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
name: A job to compute an installed Composer version.
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: mage-os/github-actions/get-composer-version@main
|
||||
- uses: graycoreio/github-actions-magento2/get-composer-version@main
|
||||
id: get-composer-version
|
||||
- run: echo version ${{ steps.get-composer-version.outputs.version }}
|
||||
shell: bash
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
name: A job to compute an installed Magento version.
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: mage-os/github-actions/get-magento-version@main
|
||||
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||
id: get-magento-version
|
||||
- run: echo version ${{ steps.get-magento-version.outputs.version }}
|
||||
shell: bash
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: mage-os/github-actions/supported-version@main
|
||||
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||
id: supported-version
|
||||
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: mage-os/github-actions/installation-test@main
|
||||
- uses: graycoreio/github-actions-magento2/installation-test@main
|
||||
with:
|
||||
composer_version: ${{ matrix.composer }}
|
||||
php_version: ${{ matrix.php }}
|
||||
|
||||
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@mage-os/github-actions",
|
||||
"name": "@graycoreio/github-actions-magento2",
|
||||
"version": "1.6.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mage-os/github-actions",
|
||||
"name": "@graycoreio/github-actions-magento2",
|
||||
"version": "1.6.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@mage-os/github-actions",
|
||||
"name": "@graycoreio/github-actions-magento2",
|
||||
"version": "1.6.0",
|
||||
"description": "Github Actions for Magento 2",
|
||||
"scripts": {
|
||||
@@ -9,14 +9,14 @@
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mage-os/github-actions.git"
|
||||
"url": "git+https://github.com/graycoreio/github-actions-magento2.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mage-os/github-actions/issues"
|
||||
"url": "https://github.com/graycoreio/github-actions-magento2/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mage-os/github-actions#readme",
|
||||
"homepage": "https://github.com/graycoreio/github-actions-magento2#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0"
|
||||
},
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
name: A job to semantically compare two versions
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: mage-os/github-actions/semver-compare@main
|
||||
- uses: graycoreio/github-actions-magento2/semver-compare@main
|
||||
with:
|
||||
version: 2.1.0
|
||||
compare_against: 2.2.3
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
setup-di-compile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mage-os/github-actions/setup-di-compile@main
|
||||
- uses: graycoreio/github-actions-magento2/setup-di-compile@main
|
||||
with:
|
||||
php_version: "8.3"
|
||||
composer_version: "2"
|
||||
|
||||
@@ -38,7 +38,7 @@ runs:
|
||||
tools: composer:v${{ inputs.composer_version }}
|
||||
coverage: none
|
||||
|
||||
- uses: mage-os/github-actions/cache-magento@main
|
||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||
with:
|
||||
mode: 'store'
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ runs:
|
||||
name: Create Magento ${{ inputs.magento_version }} Project
|
||||
if: inputs.mode == 'extension'
|
||||
|
||||
- uses: mage-os/github-actions/fix-magento-install@main
|
||||
- uses: graycoreio/github-actions-magento2/fix-magento-install@main
|
||||
name: Fix Magento Out of Box Install Issues
|
||||
with:
|
||||
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
outputs:
|
||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||
steps:
|
||||
- uses: mage-os/github-actions/supported-version@main
|
||||
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||
id: supported-version
|
||||
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
||||
```
|
||||
|
||||
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@mage-os/github-actions-supported-version",
|
||||
"name": "@graycoreio/github-actions-magento2-supported-version",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mage-os/github-actions-supported-version",
|
||||
"name": "@graycoreio/github-actions-magento2-supported-version",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@mage-os/github-actions-supported-version",
|
||||
"name": "@graycoreio/github-actions-magento2-supported-version",
|
||||
"version": "1.0.0",
|
||||
"description": "A Github Action that computes the currently supported Github Actions Matrix for Magento 2 Versions",
|
||||
"main": "index.js",
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: mage-os/github-actions/unit-test@main
|
||||
- uses: graycoreio/github-actions-magento2/unit-test@main
|
||||
with:
|
||||
php_version: ${{ matrix.php_version }}
|
||||
composer_auth: ${{ secrets.COMPOSER_AUTH }}
|
||||
|
||||
Reference in New Issue
Block a user