diff --git a/.github/workflows/ci-all.yml b/.github/workflows/ci-all.yml index e072e1fc..51c13316 100644 --- a/.github/workflows/ci-all.yml +++ b/.github/workflows/ci-all.yml @@ -1,5 +1,9 @@ on: workflow_call: + run-commit-lint: + required: false + type: boolean + default: false jobs: ci-algo-ts: @@ -35,7 +39,7 @@ jobs: pre-run-script: mv packages-temp/algo-ts packages/algo-ts/dist node-version: 20.x run-build: true - run-commit-lint: true + run-commit-lint: ${{ inputs.run-commit-lint }} build-script: npm run build audit-script: npm run audit upload-artifact-name: puya-ts diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e2d280ff..13264b52 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,3 +17,5 @@ jobs: ci-all: name: 'Build and test all packages' uses: ./.github/workflows/ci-all.yml + with: + run-commit-lint: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 570ae623..f7dd5ff0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,8 @@ jobs: ci: name: Build and test uses: ./.github/workflows/ci-all.yml + with: + run-commit-lint: false release: name: Release