Skip to content

Feat: Panel v2

Feat: Panel v2 #4567

Workflow file for this run

name: Blockera Plugin Checkup
on:
pull_request:
types: [opened, synchronize, ready_for_review]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
pr-workflow-gate:
name: PR workflow filter
runs-on: ubuntu-latest
outputs:
run: ${{ steps.gate.outputs.run }}
env:
BLOCKERA_GLOBAL_PACKAGES_TOKEN: ${{ secrets.BLOCKERABOT_PAT }}
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.BLOCKERABOT_PAT }}
- name: Ensure global-packages submodule
uses: ./.github/actions/ensure-global-packages
- id: gate
uses: ./packages/global-packages/packages/dev-tools/github/actions/pr-workflow-gate
with:
workflow-file: plugin-check.yml
test_wp_plugin_check:
name: WordPress (PCP)
needs: pr-workflow-gate
if: ${{ needs.pr-workflow-gate.outputs.run == 'true' && (github.repository == 'blockeraai/blockera' || github.event_name == 'pull_request') }}
runs-on: ubuntu-latest
timeout-minutes: 60
env:
BLOCKERA_GLOBAL_PACKAGES_TOKEN: ${{ secrets.BLOCKERABOT_PAT }}
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.BLOCKERABOT_PAT }}
- name: Ensure global-packages submodule
uses: ./.github/actions/ensure-global-packages
- uses: ./packages/global-packages/packages/dev-tools/github/actions/plugin-check
with:
repo-token: ${{ secrets.BLOCKERABOT_PAT }}
test_php_security_check:
name: PHP Security Check
needs: pr-workflow-gate
if: ${{ needs.pr-workflow-gate.outputs.run == 'true' && (github.repository == 'blockeraai/blockera' || github.event_name == 'pull_request') }}
runs-on: ubuntu-latest
timeout-minutes: 60
env:
BLOCKERA_GLOBAL_PACKAGES_TOKEN: ${{ secrets.BLOCKERABOT_PAT }}
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.BLOCKERABOT_PAT }}
- name: Ensure global-packages submodule
uses: ./.github/actions/ensure-global-packages
- uses: ./packages/global-packages/packages/dev-tools/github/actions/php-security-check