Skip to content

⚙️ On push

⚙️ On push #448

Workflow file for this run

name: '⚙️ On push'
on:
push:
branches:
- main
- beta
- alpha
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
upgrade:
uses: ./.github/workflows/upgrade.yml
secrets: inherit
test:
uses: ./.github/workflows/test.yml
needs:
- upgrade
secrets: inherit
analyse:
uses: ./.github/workflows/analyse.yml
needs:
- upgrade
secrets: inherit
build:
runs-on: ubuntu-22.04
needs:
- upgrade
steps:
- uses: myparcelnl/actions/pdk-prerelease@v4
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
php-version: ${{ vars.PHP_VERSION }}
php-scoper-version: ${{ vars.PHP_SCOPER_VERSION }}
source-files: |
src/**/*
config/**/*
scoper.inc.php
woocommerce-myparcel.php
rebase-prs:
uses: ./.github/workflows/rebase-prs.yml
needs:
- build
- test
- analyse
secrets: inherit
notify-on-failure:
needs:
- upgrade
- test
- analyse
- build
if: always() && contains(needs.*.result, 'failure')
uses: myparcelnl/actions/.github/workflows/notify-on-failure.yml@v4
secrets: inherit