Set more sensible job timeouts

This commit is contained in:
Tyrrrz
2023-11-24 23:11:23 +02:00
parent 116cdc0746
commit 309e58116a
2 changed files with 18 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ env:
jobs:
format:
runs-on: windows-latest
timeout-minutes: 10
permissions:
contents: read
@@ -34,7 +36,10 @@ jobs:
test:
# Tests need access to secrets, so we can't run them against PRs because of limited trust
if: ${{ github.event_name != 'pull_request' }}
runs-on: windows-latest
timeout-minutes: 10
permissions:
contents: read
@@ -73,6 +78,8 @@ jobs:
- DiscordChatExporter.Gui
runs-on: windows-latest
timeout-minutes: 10
permissions:
actions: write
contents: read
@@ -110,6 +117,8 @@ jobs:
- pack
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
@@ -140,6 +149,8 @@ jobs:
asset: DiscordChatExporter
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
actions: read
contents: write
@@ -167,6 +178,8 @@ jobs:
notify:
needs: deploy
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read