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

@@ -10,6 +10,8 @@ jobs:
# the Dockerfile builds correctly on pull requests.
pack:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
actions: write
contents: read
@@ -38,7 +40,10 @@ jobs:
deploy:
# Deploy to DockerHub only on tag push or master branch push
if: ${{ github.ref_type == 'tag' || github.ref_type == 'branch' && github.ref_name == 'master' }}
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read