diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index a5941f68d..af8855393 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -65,6 +65,7 @@ jobs: - os: windows-2022 version: nightly-latest name: "Analyze: 'ref' and 'sha' from inputs" + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__debug-artifacts.yml b/.github/workflows/__debug-artifacts.yml index 03d8e0130..12f0344ae 100644 --- a/.github/workflows/__debug-artifacts.yml +++ b/.github/workflows/__debug-artifacts.yml @@ -49,6 +49,7 @@ jobs: - os: macos-latest version: nightly-latest name: Debug artifact upload + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 65dd886dd..62cfbd75c 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -27,6 +27,7 @@ jobs: - os: ubuntu-latest version: latest name: Extractor ram and threads options test + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 46d1a2f30..2b5af1465 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -65,6 +65,7 @@ jobs: - os: windows-2022 version: nightly-latest name: 'Go: Custom queries' + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__go-custom-tracing-autobuild.yml b/.github/workflows/__go-custom-tracing-autobuild.yml index 66fd994b9..326d340e3 100644 --- a/.github/workflows/__go-custom-tracing-autobuild.yml +++ b/.github/workflows/__go-custom-tracing-autobuild.yml @@ -49,6 +49,7 @@ jobs: - os: macos-latest version: nightly-latest name: 'Go: Autobuild custom tracing' + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__go-custom-tracing.yml b/.github/workflows/__go-custom-tracing.yml index 940040c74..11e994b55 100644 --- a/.github/workflows/__go-custom-tracing.yml +++ b/.github/workflows/__go-custom-tracing.yml @@ -65,6 +65,7 @@ jobs: - os: windows-2022 version: nightly-latest name: 'Go: Custom tracing' + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index c8e544c6f..8df0a79e9 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -31,6 +31,7 @@ jobs: - os: ubuntu-latest version: nightly-latest name: Custom source root + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 6e93758a2..132669557 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -49,6 +49,7 @@ jobs: - os: macos-latest version: nightly-latest name: Multi-language repository + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index cf93974bb..89db9b8f7 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -29,6 +29,7 @@ jobs: - os: macos-latest version: nightly-20210831 name: 'Packaging: Config and input' + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index cd4fb2f56..2a7ead371 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -29,6 +29,7 @@ jobs: - os: macos-latest version: nightly-20210831 name: 'Packaging: Config file' + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 47878ca93..a542a3282 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -29,6 +29,7 @@ jobs: - os: macos-latest version: nightly-20210831 name: 'Packaging: Action input' + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index fb01ff0dc..c60d2cd86 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -65,6 +65,7 @@ jobs: - os: windows-2022 version: nightly-latest name: Remote config file + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index 2df8aee56..27a7c94ea 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -37,6 +37,7 @@ jobs: - os: ubuntu-latest version: nightly-latest name: RuboCop multi-language + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index 381e80545..cc3a0672e 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -29,6 +29,7 @@ jobs: - os: macos-latest version: nightly-20210831 name: Split workflow + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 46cf62f61..1608cd2a0 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -27,6 +27,7 @@ jobs: - os: ubuntu-latest version: nightly-latest name: Local CodeQL bundle + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index e0a491e3c..cef69e4e7 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -27,6 +27,7 @@ jobs: - os: ubuntu-latest version: latest name: Proxy test + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__test-ruby.yml b/.github/workflows/__test-ruby.yml index 7cb4b9a86..03b45bea4 100644 --- a/.github/workflows/__test-ruby.yml +++ b/.github/workflows/__test-ruby.yml @@ -37,6 +37,7 @@ jobs: - os: macos-latest version: nightly-latest name: Ruby analysis + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index ba8320632..76dd83d9a 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -37,6 +37,7 @@ jobs: - os: ubuntu-latest version: nightly-latest name: Test unsetting environment variables + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 264a551e6..fb24f38a4 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -65,6 +65,7 @@ jobs: - os: windows-2022 version: nightly-latest name: "Upload-sarif: 'ref' and 'sha' from inputs" + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 994eee140..cc2a7c813 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -13,6 +13,7 @@ jobs: lint-js: name: Lint runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -21,6 +22,7 @@ jobs: check-js: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -30,6 +32,7 @@ jobs: check-node-modules: name: Check modules up to date runs-on: macos-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -39,6 +42,7 @@ jobs: verify-pr-checks: name: Verify PR checks up to date runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -60,6 +64,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} + timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -69,6 +74,7 @@ jobs: runner-analyze-javascript-ubuntu: name: Runner ubuntu JS analyze needs: [check-js, check-node-modules] + timeout-minutes: 30 runs-on: ubuntu-latest steps: @@ -97,6 +103,7 @@ jobs: runner-analyze-javascript-windows: name: Runner windows JS analyze needs: [check-js, check-node-modules] + timeout-minutes: 30 runs-on: windows-latest steps: @@ -121,6 +128,7 @@ jobs: runner-analyze-javascript-macos: name: Runner macos JS analyze needs: [check-js, check-node-modules] + timeout-minutes: 30 runs-on: macos-latest steps: @@ -145,6 +153,7 @@ jobs: runner-analyze-csharp-ubuntu: name: Runner ubuntu C# analyze needs: [check-js, check-node-modules] + timeout-minutes: 30 runs-on: ubuntu-latest steps: @@ -184,6 +193,7 @@ jobs: needs: [check-js, check-node-modules] # Build tracing currently does not support Windows 2022, so use `windows-2019` instead of # `windows-latest`. + timeout-minutes: 30 runs-on: windows-2019 steps: @@ -228,6 +238,7 @@ jobs: runner-analyze-csharp-macos: name: Runner macos C# analyze + timeout-minutes: 30 needs: [check-js, check-node-modules] runs-on: macos-latest @@ -266,6 +277,7 @@ jobs: runner-analyze-csharp-autobuild-ubuntu: name: Runner ubuntu autobuild C# analyze + timeout-minutes: 30 needs: [check-js, check-node-modules] runs-on: ubuntu-latest @@ -301,6 +313,7 @@ jobs: TEST_MODE: true runner-analyze-csharp-autobuild-windows: + timeout-minutes: 30 name: Runner windows autobuild C# analyze needs: [check-js, check-node-modules] # Build tracing currently does not support Windows 2022, so use `windows-2019` instead of @@ -343,6 +356,7 @@ jobs: name: Runner macos autobuild C# analyze needs: [check-js, check-node-modules] runs-on: macos-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -380,6 +394,7 @@ jobs: name: Runner upload sarif needs: [check-js, check-node-modules] runs-on: ubuntu-latest + timeout-minutes: 30 if: ${{ github.event_name != 'pull_request' || github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id }} @@ -402,6 +417,7 @@ jobs: name: Runner ubuntu extractor RAM and threads options needs: [check-js, check-node-modules] runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/python-deps.yml b/.github/workflows/python-deps.yml index cb6ba3c6d..9542ea493 100644 --- a/.github/workflows/python-deps.yml +++ b/.github/workflows/python-deps.yml @@ -10,6 +10,7 @@ on: jobs: test-setup-python-scripts: + timeout-minutes: 30 runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/release-runner.yml b/.github/workflows/release-runner.yml index 1ef0b7899..3a59525c7 100644 --- a/.github/workflows/release-runner.yml +++ b/.github/workflows/release-runner.yml @@ -9,6 +9,7 @@ on: jobs: release-runner: + timeout-minutes: 30 runs-on: ubuntu-latest env: RELEASE_TAG: "${{ github.event.inputs.bundle-tag }}" diff --git a/.github/workflows/split.yml b/.github/workflows/split.yml index 547ac1fba..1bedb5bef 100644 --- a/.github/workflows/split.yml +++ b/.github/workflows/split.yml @@ -26,6 +26,7 @@ on: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 30 env: CLI_RELEASE: "${{ github.event.inputs.cli-release }}" RELEASE_TAG: "${{ github.event.inputs.bundle-tag }}" diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index a1657e7fe..515f75199 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -6,6 +6,7 @@ on: jobs: update: name: Update dependencies + timeout-minutes: 30 runs-on: macos-latest if: contains(github.event.pull_request.labels.*.name, 'Update dependencies') && (github.event.pull_request.head.repo.full_name == 'github/codeql-action') steps: diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index ec0e8ee5a..cabc59591 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -9,6 +9,7 @@ on: jobs: update: + timeout-minutes: 30 runs-on: ubuntu-latest if: ${{ github.repository == 'github/codeql-action' }} steps: diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index 18d1ea59b..86eae958d 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -6,6 +6,7 @@ on: jobs: update-supported-enterprise-server-versions: + timeout-minutes: 30 runs-on: ubuntu-latest if: ${{ github.repository == 'github/codeql-action' }} diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 481017f02..beb1d4dfd 100644 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -85,6 +85,7 @@ def writeHeader(checkStream): } }, 'name': checkSpecification['name'], + 'timeout-minutes': 30, 'runs-on': '${{ matrix.os }}', 'steps': steps }