From b3f7c20c56754fd8252e984b79dc7f350dc88d39 Mon Sep 17 00:00:00 2001 From: Michiel Mulders Date: Tue, 2 Jun 2020 21:20:30 +0200 Subject: [PATCH] Michiel/add timeout to GitHub Actions (#879) * Add timeout to GH actions workflows * changelog --- .github/workflows/development.yml | 2 ++ .github/workflows/production.yml | 2 ++ .github/workflows/release.yml | 2 ++ .github/workflows/testPR.yml | 4 ++++ changes/michiel_add-timeout-to-gh-actions | 1 + 5 files changed, 11 insertions(+) create mode 100644 changes/michiel_add-timeout-to-gh-actions diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 5503f5dc04..900a56a68c 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -8,6 +8,8 @@ jobs: test: name: Compile runs-on: ubuntu-latest + timeout-minutes: 8 + steps: - uses: actions/checkout@v1 - name: Use Node.js diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index d4fd67a0ec..a5f3817339 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -8,6 +8,8 @@ jobs: test: name: Compile runs-on: ubuntu-latest + timeout-minutes: 8 + steps: - uses: actions/checkout@v1 - name: Use Node.js diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e4b5c47c0..8960abb736 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ jobs: createReleasePR: name: createReleasePR runs-on: ubuntu-latest + timeout-minutes: 8 + steps: - uses: actions/checkout@v1 - name: Use Node.js diff --git a/.github/workflows/testPR.yml b/.github/workflows/testPR.yml index b232557bf5..cccd238a51 100644 --- a/.github/workflows/testPR.yml +++ b/.github/workflows/testPR.yml @@ -8,6 +8,8 @@ jobs: check_changelog: name: checkChangelog runs-on: ubuntu-latest + timeout-minutes: 5 + steps: - uses: actions/checkout@v1 - name: Use Node.js @@ -21,6 +23,8 @@ jobs: test_pr: name: testPR runs-on: ubuntu-latest + timeout-minutes: 8 + steps: - uses: actions/checkout@v1 - name: Use Node.js diff --git a/changes/michiel_add-timeout-to-gh-actions b/changes/michiel_add-timeout-to-gh-actions new file mode 100644 index 0000000000..d4efb744d8 --- /dev/null +++ b/changes/michiel_add-timeout-to-gh-actions @@ -0,0 +1 @@ +[Changed] Add timeout to Github Actions workflows @michielmulders \ No newline at end of file