chore: Update CI workflow with timeout and enhanced checkout options
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m36s
CI / lint-and-type-check (pull_request) Failing after 2m14s
CI / python-lint (pull_request) Failing after 1m58s
CI / test-backend (pull_request) Successful in 3m40s
CI / build (pull_request) Successful in 4m34s
CI / secret-scanning (pull_request) Successful in 1m43s
CI / dependency-scan (pull_request) Successful in 1m42s
CI / sast-scan (pull_request) Successful in 2m45s
CI / workflow-summary (pull_request) Failing after 1m35s
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m36s
CI / lint-and-type-check (pull_request) Failing after 2m14s
CI / python-lint (pull_request) Failing after 1m58s
CI / test-backend (pull_request) Successful in 3m40s
CI / build (pull_request) Successful in 4m34s
CI / secret-scanning (pull_request) Successful in 1m43s
CI / dependency-scan (pull_request) Successful in 1m42s
CI / sast-scan (pull_request) Successful in 2m45s
CI / workflow-summary (pull_request) Failing after 1m35s
This commit modifies the CI workflow to include a timeout of 5 minutes for the skip-ci-check job. Additionally, it updates the checkout step to disable submodules, persist credentials, and clean the workspace, improving the efficiency and reliability of the CI process.
This commit is contained in:
parent
3d410a94a8
commit
9ddd7c04eb
@ -28,6 +28,7 @@ jobs:
|
||||
# Check if CI should be skipped based on branch name or commit message
|
||||
skip-ci-check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
outputs:
|
||||
should-skip: ${{ steps.check.outputs.skip }}
|
||||
steps:
|
||||
@ -35,6 +36,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: false
|
||||
persist-credentials: false
|
||||
clean: true
|
||||
|
||||
- name: Check if CI should be skipped
|
||||
id: check
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user