Skip to content

fix: bound action scheduler retention queries #4172

fix: bound action scheduler retention queries

fix: bound action scheduler retention queries #4172

Workflow file for this run

name: Homeboy
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: homeboy-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: write
pull-requests: write
issues: write
jobs:
# This audit is repository policy, so run it directly instead of relying on Homeboy test discovery.
prefix-policy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Audit WordPress identifier prefixes
run: php tests/prefix-policy-audit.php
homeboy:
if: ${{ github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'release:') }}
uses: Extra-Chill/homeboy-action/.github/workflows/ci.yml@v2
with:
# Autofix on PRs is expressed by adding `refactor lint` to the commands
# list — ci.yml@v2 has no `autofix`/`autofix-commands` inputs, and passing
# undeclared inputs to a reusable workflow is a hard startup_failure.
commands: ${{ github.event_name == 'pull_request' && 'review audit,review lint,review test,refactor lint' || github.event_name == 'workflow_dispatch' && 'review audit,review lint,review test' || 'review test' }}
expected-commands: ${{ github.event_name == 'pull_request' && 'review audit,review lint,review test' || github.event_name == 'workflow_dispatch' && 'review audit,review lint,review test' || 'review test' }}
secrets: inherit