diff --git a/.github/workflows/ci-full-check.yml b/.github/workflows/ci-full-check.yml index f97146b7..b8d1df36 100644 --- a/.github/workflows/ci-full-check.yml +++ b/.github/workflows/ci-full-check.yml @@ -3,17 +3,10 @@ name: CI-full-check on: workflow_dispatch: pull_request: - types: - - assigned - - review_requested push: branches: - main - release/** - paths: - - '.github/**' - - 'dist/**' - - '**/action.yml' jobs: build-distribution: diff --git a/.github/workflows/ci-quick-check.yml b/.github/workflows/ci-quick-check.yml index aa1410f5..e72b6390 100644 --- a/.github/workflows/ci-quick-check.yml +++ b/.github/workflows/ci-quick-check.yml @@ -8,7 +8,18 @@ on: - release/** jobs: + check-for-pr: + runs-on: ubuntu-latest + outputs: + is-pr-commit: ${{ steps.PR.outputs.pr_found }} + steps: + - name: Get current PR details + uses: 8BitJonny/gh-get-current-pr@3.0.0 + id: PR + build-distribution: + needs: check-for-pr + if: ${{ needs.check-for-pr.outputs.is-pr-commit == 'false' }} runs-on: ubuntu-latest steps: - name: Checkout sources