diff --git a/.github/oxid-esales/module-medialibrary.yml b/.github/oxid-esales/module-medialibrary.yaml similarity index 100% rename from .github/oxid-esales/module-medialibrary.yml rename to .github/oxid-esales/module-medialibrary.yaml diff --git a/.github/workflows/dispatch_module.yml b/.github/workflows/dispatch_module.yaml similarity index 87% rename from .github/workflows/dispatch_module.yml rename to .github/workflows/dispatch_module.yaml index e9d4003..ad19214 100644 --- a/.github/workflows/dispatch_module.yml +++ b/.github/workflows/dispatch_module.yaml @@ -26,19 +26,19 @@ jobs: # shellcheck disable=SC2088 case "${{ inputs.limit }}" in "no") LIMIT='';; - "PHP8.1/MySQL5.7") LIMIT='~/defaults/php8.1_mysql5.7_only.yml,' ;; - "PHP8.1/MySQL8.0") LIMIT='~/defaults/php8.1_mysql8.0_only.yml,' ;; - "PHP8.2/MySQL5.7") LIMIT='~/defaults/php8.2_mysql5.7_only.yml,' ;; - "PHP8.2/MySQL8.0") LIMIT='~/defaults/php8.2_mysql8.0_only.yml,' ;; + "PHP8.1/MySQL5.7") LIMIT='~/defaults/php8.1_mysql5.7_only.yaml,' ;; + "PHP8.1/MySQL8.0") LIMIT='~/defaults/php8.1_mysql8.0_only.yaml,' ;; + "PHP8.2/MySQL5.7") LIMIT='~/defaults/php8.2_mysql5.7_only.yaml,' ;; + "PHP8.2/MySQL8.0") LIMIT='~/defaults/php8.2_mysql8.0_only.yaml,' ;; esac - + # shellcheck disable=SC2088 - TESTPLAN="~/defaults/7.1.x.yml,${LIMIT}~/module-medialibrary.yml" + TESTPLAN="~/defaults/7.1.x.yaml,${LIMIT}~/module-medialibrary.yaml" echo "testplan=${TESTPLAN}" | tee -a "${GITHUB_OUTPUT}" dispatch_stable: needs: build_testplan - uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yml@v4 + uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yaml@v4 with: testplan: ${{ needs.build_testplan.outputs.testplan }} runs_on: '"ubuntu-latest"' @@ -51,4 +51,4 @@ jobs: CACHE_ACCESS_KEY: ${{ secrets.CACHE_ACCESS_KEY }} CACHE_SECRET_KEY: ${{ secrets.CACHE_SECRET_KEY }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yaml similarity index 90% rename from .github/workflows/schedule.yml rename to .github/workflows/schedule.yaml index ca439d9..bfb4690 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yaml @@ -6,9 +6,9 @@ on: jobs: schedule_matrix: - uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yml@v4 + uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yaml@v4 with: - testplan: '~/defaults/7.1.x.yml,~/module-medialibrary.yml' + testplan: '~/defaults/7.1.x.yaml,~/module-medialibrary.yaml' runs_on: '"ubuntu-latest"' defaults: 'v4' plan_folder: '.github/oxid-esales' diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yaml similarity index 84% rename from .github/workflows/trigger.yml rename to .github/workflows/trigger.yaml index 1870797..d877f81 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yaml @@ -3,13 +3,15 @@ name: Auto trigger on push or pull requests on: pull_request: {} - push: {} + push: + branches: + - 'b-7.1.x*' jobs: php81_mysql80: - uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yml@v4 + uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yaml@v4 with: - testplan: '~/defaults/7.1.x.yml,~/defaults/php8.1_mysql5.7_only.yml,~/module-medialibrary.yml' + testplan: '~/defaults/7.1.x.yaml,~/defaults/php8.1_mysql5.7_only.yaml,~/module-medialibrary.yaml' runs_on: '"ubuntu-latest"' defaults: 'v4' plan_folder: '.github/oxid-esales' diff --git a/README.md b/README.md index 177ca54..4b57bca 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ Module provides basic media files management. * v1.0.x is compatible with eShop compilation 7.1.x and higher ### Branches -* b-7.1.x is compatible with shop b-7.1.x branches * b-7.2.x is compatible with shop b-7.2.x branches +* b-7.1.x is compatible with shop b-7.1.x branches ## License