Skip to content

Commit ea14b2a

Browse files
committed
ci: aovid injections, add timeouts to gh steps
1 parent 20caed5 commit ea14b2a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pr.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
name: Audit & SCA
5454
needs: [ci]
5555
runs-on: ubuntu-latest
56+
timeout-minutes: 15
5657
steps:
5758
- uses: actions/checkout@v4
5859
with:
@@ -65,6 +66,7 @@ jobs:
6566
name: CodeQL
6667
needs: [ci]
6768
runs-on: ubuntu-latest
69+
timeout-minutes: 15
6870
permissions:
6971
security-events: write
7072
steps:
@@ -111,6 +113,7 @@ jobs:
111113
if: always()
112114
needs: [ci, audit, codeql]
113115
runs-on: ubuntu-latest
116+
timeout-minutes: 2
114117
steps:
115118
- run: |
116119
if [[ "${{ needs.ci.result }}" == "failure" || \
@@ -126,6 +129,7 @@ jobs:
126129
if: contains(github.event.pull_request.labels.*.name, 'review-app')
127130
runs-on: ubuntu-latest
128131
needs: [ci]
132+
timeout-minutes: 15
129133
permissions:
130134
deployments: write
131135
steps:
@@ -143,4 +147,6 @@ jobs:
143147

144148
- name: Summary
145149
if: always()
146-
run: echo '${{ steps.raa.outputs.summary }}' >> "$GITHUB_STEP_SUMMARY"
150+
run: echo "$SUMMARY" >> "$GITHUB_STEP_SUMMARY"
151+
env:
152+
SUMMARY: ${{ steps.raa.outputs.summary }}

0 commit comments

Comments
 (0)