[deps] Update dependency file-type to v21.3.1 [SECURITY] (#14888) #10943
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: OpenCTI CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| wf-build-image: | |
| name: Build image | |
| uses: ./.github/workflows/ci-docker-build.yml | |
| with: | |
| checkout_ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }} | |
| dockerfile_target: testing | |
| client_python_local: true | |
| secrets: inherit | |
| wf-backend-test: | |
| name: Backend | |
| uses: ./.github/workflows/ci-test-backend.yml | |
| needs: wf-build-image | |
| with: | |
| checkout_ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }} | |
| run-id: ${{ github.run_id }} | |
| secrets: inherit | |
| wf-frontend-test: | |
| name: Frontend | |
| uses: ./.github/workflows/ci-test-frontend.yml | |
| with: | |
| checkout_ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }} | |
| secrets: inherit | |
| wf-client-python-test: | |
| name: Client Python | |
| uses: ./.github/workflows/ci-test-client-python.yml | |
| needs: wf-build-image | |
| with: | |
| checkout_ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }} | |
| secrets: inherit | |
| wf-license-check: | |
| name: License check | |
| uses: ./.github/workflows/ci-license-check.yml | |
| with: | |
| checkout_ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.sha }} | |
| secrets: inherit |