diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 8ebbfa1..974fe22 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -6,7 +6,7 @@ name: Workflow CI/CD on: pull_request: branches: [ master ] - types: [ opened, synchronize, reopened, edited ] + types: [ opened, synchronize, reopened] push: branches: [ '**' ] issue_comment: @@ -17,7 +17,7 @@ on: concurrency: group: ${{ github.workflow }} - cancel-in-progress: true + cancel-in-progress: false env: LOGLEVEL: debug @@ -119,8 +119,11 @@ jobs: run-functional-test: if: | - github.event.comment.body == null || - (github.event.issue.pull_request && contains(github.event.comment.body, '$FUNCTIONAL_TESTS=')) + ( + github.event.comment.body == null || + (github.event.issue.pull_request && contains(github.event.comment.body, '$FUNCTIONAL_TESTS=')) + ) && + (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) needs: [run-unit-tests, validate-code-style]