Add CI timeout (#2127)

This commit is contained in:
Masaya Suzuki 2021-11-16 01:25:36 +09:00 committed by GitHub
parent 474495d9f1
commit 60ccdfca87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 14 additions and 0 deletions

View file

@ -32,6 +32,7 @@ jobs:
# Prevent duplicate run from happening when a forked push is committed
if: ${{ github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name != github.repository }}
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -32,6 +32,7 @@ jobs:
# Prevent duplicate run from happening when a forked push is committed
if: ${{ github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name != github.repository }}
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -29,6 +29,7 @@ jobs:
runs-on: ubuntu-latest
# Only run this on the main repo
if: ${{ github.repository == 'github/super-linter' }}
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -29,6 +29,7 @@ jobs:
runs-on: ubuntu-latest
# Only run this on the main repo
if: ${{ github.repository == 'github/super-linter' }}
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -36,6 +36,8 @@ jobs:
github.actor == 'Hanse00' || github.actor == 'github-actions' ||
github.actor == 'GaboFDC' || github.actor == 'ferrarimarco' }}
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -36,6 +36,8 @@ jobs:
github.actor == 'Hanse00' || github.actor == 'github-actions' ||
github.actor == 'GaboFDC' || github.actor == 'ferrarimarco' }}
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -21,6 +21,7 @@ on:
jobs:
update_release_draft:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5

View file

@ -28,6 +28,7 @@ jobs:
name: Stack linter
# Set the agent to run on
runs-on: ubuntu-latest
timeout-minutes: 60
##################
# Load all steps #
##################

View file

@ -27,6 +27,7 @@ jobs:
runs-on: ubuntu-latest
# only run on schedule
if: ${{ github.event_name == 'schedule' }}
timeout-minutes: 60
steps:
- name: Mark issue stale
uses: actions/stale@v4
@ -48,6 +49,7 @@ jobs:
runs-on: ubuntu-latest
# do not run on schedule
if: "${{ github.event_name == 'issue_comment' && contains(github.event.issue.labels.*.name, 'O: stale 🤖') && github.event.issue.user.type != 'Bot' }}"
timeout-minutes: 60
steps:
- name: Mark issue not stale
uses: actions/github-script@v5

View file

@ -10,6 +10,7 @@ jobs:
scan-container:
name: Build
runs-on: ubuntu-18.04
timeout-minutes: 60
steps:
######################
# Checkout code base #

View file

@ -28,6 +28,7 @@ on:
jobs:
actions-tagger:
runs-on: windows-latest
timeout-minutes: 60
steps:
#############################
# Check out the latest code #