|
10 | 10 | pull_request: |
11 | 11 | branches: [main, develop] |
12 | 12 | schedule: |
13 | | - # Weekly on Sunday at 2 AM UTC for security scans |
14 | | - - cron: '0 2 * * 0' |
15 | | - # Weekly on Monday at 2 AM UTC for performance benchmarks |
16 | | - - cron: '0 2 * * 1' |
| 13 | + - cron: '0 2 * * 0' # Weekly on Sunday at 2 AM UTC for security scans |
| 14 | + - cron: '0 2 * * 1' # Weekly on Monday at 2 AM UTC for performance benchmarks |
17 | 15 | workflow_dispatch: |
18 | 16 |
|
19 | 17 | # Concurrency controls to prevent overlapping runs |
@@ -556,8 +554,8 @@ jobs: |
556 | 554 | - name: Check documentation |
557 | 555 | run: | |
558 | 556 | if [ ! -d "target/doc" ]; then |
559 | | - echo "❌ Documentation build failed" |
560 | | - exit 1 |
| 557 | + echo "❌ Documentation build failed" |
| 558 | + exit 1 |
561 | 559 | fi |
562 | 560 | echo "✅ Documentation built successfully" |
563 | 561 |
|
@@ -588,16 +586,16 @@ jobs: |
588 | 586 | uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b |
589 | 587 | with: |
590 | 588 | script: | |
591 | | - github.rest.issues.createComment({ |
592 | | - issue_number: context.issue.number, |
593 | | - owner: context.repo.owner, |
594 | | - repo: context.repo.repo, |
595 | | - body: '🚨 **Code Review Issues Detected**\n\n' + |
596 | | - 'Clippy found warnings or errors that need to be addressed:\n\n' + |
597 | | - '```bash\ncargo clippy --all-targets --all-features -- -D warnings\n```\n\n' + |
598 | | - 'Please fix these issues before merging. You can run:\n' + |
599 | | - '```bash\ncargo clippy --fix --allow-dirty\n```' |
600 | | - }) |
| 589 | + github.rest.issues.createComment({ |
| 590 | + issue_number: context.issue.number, |
| 591 | + owner: context.repo.owner, |
| 592 | + repo: context.repo.repo, |
| 593 | + body: '🚨 **Code Review Issues Detected**\n\n' + |
| 594 | + 'Clippy found warnings or errors that need to be addressed:\n\n' + |
| 595 | + '```bash\ncargo clippy --all-targets --all-features -- -D warnings\n```\n\n' + |
| 596 | + 'Please fix these issues before merging. You can run:\n' + |
| 597 | + '```bash\ncargo clippy --fix --allow-dirty\n```' |
| 598 | + }) |
601 | 599 |
|
602 | 600 | # Final CI status aggregation |
603 | 601 | ci-complete: |
|
0 commit comments