name: ApiFn Reusable Workflow Smoke on: pull_request: branches: [dev] paths: - ".github/workflows/apifn-api-check.yml" - ".github/workflows/apifn-api-check-smoke.yml" - "apifn/cli/**" permissions: contents: read # Called workflow requests pull-requests: write and cannot elevate the # caller token. Grant write even when post_pr_comment is false, otherwise # GitHub rejects the reusable call with startup_failure. pull-requests: write jobs: api-check: if: github.repository == '21nCo/superfunctions' uses: ./.github/workflows/apifn-api-check.yml with: spec_path: apifn/cli/__tests__/fixtures/diff/before.yml collection_dir: apifn/cli/__tests__/fixtures/passing-collection environment: development base_branch: dev fail_on_breaking: false post_pr_comment: false start_mock_server: true mock_port: 19999