We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea9e30 commit 71f29ebCopy full SHA for 71f29eb
.github/workflows/promptfoo-code-scan.yml
@@ -2,7 +2,7 @@ name: Promptfoo Code Scan
2
3
on:
4
pull_request:
5
- types: [opened]
+ types: [opened, synchronize, reopened]
6
7
jobs:
8
security-scan:
@@ -24,3 +24,20 @@ jobs:
24
min-severity: medium
25
guidance: |
26
- Always comment on a block of code—never just a single line. And always make sure the start line comes before the end line.
27
+
28
+ ci-success:
29
+ name: CI Success
30
+ runs-on: ubuntu-latest
31
+ needs: [security-scan]
32
+ if: always()
33
+ timeout-minutes: 5
34
+ permissions:
35
+ checks: read
36
+ statuses: read
37
38
+ steps:
39
+ - name: Wait for all PR checks to succeed
40
+ uses: promptfoo/.github/.github/actions/ci-success@main
41
+ with:
42
+ github-token: ${{ secrets.GITHUB_TOKEN }}
43
+ timeout-seconds: 300
0 commit comments