Skip to content

Upgrade GHA workflow #21

Upgrade GHA workflow

Upgrade GHA workflow #21

name: Auto trigger on Push to 7.1.x*
on:
push:
branches:
- 'b-7.1.x**'
jobs:
push_module:
uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yaml@v4
with:
testplan: '~/defaults/7.1.x.yaml,~/defaults/php8.2_mysql8.0_only.yaml,~/module-evat.yaml'
runs_on: '"ubuntu-latest"'
defaults: 'v4'
plan_folder: '.github/oxid-esales'
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
CACHE_ENDPOINT: ${{ secrets.CACHE_ENDPOINT }}
CACHE_ACCESS_KEY: ${{ secrets.CACHE_ACCESS_KEY }}
CACHE_SECRET_KEY: ${{ secrets.CACHE_SECRET_KEY }}
enterprise_github_token: ${{ secrets.enterprise_github_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
push_module_ee:
runs-on: ubuntu-latest
steps:
- name: Trigger EE workflow and wait for results
uses: convictional/trigger-workflow-and-wait@v1.6.5
with:
owner: oxid-esales
repo: module-workflows
github_user: ${{ secrets.CI_USER }}
github_token: ${{ secrets.GH_CI_JENKINS_TOKEN }}
workflow_file_name: evat_workflow.yaml
ref: "b-7.1.x"
client_payload: "{\"php\": \"8.2\", \"mysql\": \"8.0\", \"edition\": \"ee\", \"ref\": \"${{ github.ref_name }}\"}"