diff options
author | 2024-02-03 20:24:45 +0000 | |
---|---|---|
committer | 2024-02-03 20:24:45 +0000 | |
commit | 180bdee34774ed56c3a1822eb69d51e4cd9e5eaf (patch) | |
tree | 24808a5f0085478b69ba63a25b2b1008092e8eab /.github/workflows/build.yml | |
parent | geeqie.profile: allow Lua interpreter (#6183) (diff) | |
download | firejail-180bdee34774ed56c3a1822eb69d51e4cd9e5eaf.tar.gz firejail-180bdee34774ed56c3a1822eb69d51e4cd9e5eaf.tar.zst firejail-180bdee34774ed56c3a1822eb69d51e4cd9e5eaf.zip |
ci: add timeout limits (#6178)
So that they fail early instead of letting them run indefinitely when
there are problems with the CI infrastructure.
Use 5 minutes for the jobs that usually complete in under a minute
(check-profiles and codespell) and 10 minutes for the rest (most jobs
usually take 1-3 minutes).
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae1aef039..b63eee824 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -57,6 +57,7 @@ permissions: # added using https://github.com/step-security/secure-workflows | |||
57 | jobs: | 57 | jobs: |
58 | build: | 58 | build: |
59 | runs-on: ubuntu-22.04 | 59 | runs-on: ubuntu-22.04 |
60 | timeout-minutes: 10 | ||
60 | steps: | 61 | steps: |
61 | - name: Harden Runner | 62 | - name: Harden Runner |
62 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 | 63 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 |