Skip to content

Merge pull request #1315 from Extra-Chill/fix/1313-canonical-freshnes… #2081

Merge pull request #1315 from Extra-Chill/fix/1313-canonical-freshnes…

Merge pull request #1315 from Extra-Chill/fix/1313-canonical-freshnes… #2081

Workflow file for this run

name: Homeboy
on:
pull_request:
branches: [main]
push:
branches: [main]
tags: ['v*']
workflow_dispatch:
concurrency:
group: homeboy-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: write
pull-requests: write
issues: write
jobs:
reusable-workflow-contract:
name: Reusable workflow contract
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Download pinned reusable workflow contract
env:
CONTRACT_URL: https://raw.githubusercontent.com/Extra-Chill/homeboy-action/v2/.github/workflows/ci.yml
run: curl --fail --location --retry 3 --silent --show-error "$CONTRACT_URL" --output "$RUNNER_TEMP/homeboy-action-ci.yml"
- name: Verify caller inputs
run: php .github/scripts/homeboy-workflow-input-contract.php "$RUNNER_TEMP/homeboy-action-ci.yml"
homeboy:
uses: Extra-Chill/homeboy-action/.github/workflows/ci.yml@v2
with:
commands: review audit,review lint,review test
expected-commands: review audit,review lint,review test
differential-gating: 'true'
baseline-commands: review lint,review test
secrets: inherit