Skip to content

Commit 8581af1

Browse files
committed
Add timeouts to github actions.
1 parent b5c5d53 commit 8581af1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/black.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: Lint
1+
name: Lint with Black
22

33
on: [push, pull_request]
44

55
jobs:
6-
lint:
6+
black:
7+
timeout-minutes: 10
78
runs-on: ubuntu-latest
89
steps:
910
- uses: actions/checkout@v2

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
deploy:
9+
timeout-minutes: 20
910

1011
runs-on: ubuntu-latest
1112

0 commit comments

Comments
 (0)