Skip to content

Commit

Permalink
Add timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 authored Jul 22, 2024
1 parent 2508210 commit b759d3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ env:
jobs:
build:
name: Build & push new image
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
timeout-minutes: 10
runs-on: ubuntu-24.04

steps:
- name: Checkout code
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:
needs: build
permissions:
security-events: write
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Run Trivy vulnerability scanner
Expand All @@ -89,6 +91,7 @@ jobs:
needs: build
permissions:
security-events: write
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Run Grype vulnerability scanner
Expand Down

0 comments on commit b759d3e

Please sign in to comment.