Skip to content

Commit fcf4486

Browse files
Copilotdoublegatecursoragent
authored
Consolidate 15 open PRs: dependency updates, GitHub Actions upgrades, Phase 4 documentation, and CI/CD fixes (#43)
* Initial plan * Update all dependencies and GitHub Actions versions Co-authored-by: doublegate <[email protected]> * Add Phase 4 documentation and Lua scripting guide Co-authored-by: doublegate <[email protected]> * Fix: Correctly format script header comments Co-authored-by: parobek <[email protected]> * Address PR review comments: remove placeholders, update prototype dependencies Co-authored-by: doublegate <[email protected]> * Fix CI failures: dependency review config and security audit permissions Co-authored-by: doublegate <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: doublegate <[email protected]> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: parobek <[email protected]>
1 parent 19f9467 commit fcf4486

File tree

14 files changed

+1364
-283
lines changed

14 files changed

+1364
-283
lines changed

.github/dependency-review-config.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,18 @@ deny-licenses:
3232
# Allow specific packages even if they fail other checks
3333
allow-dependencies-licenses:
3434
# Core Rust ecosystem crates that are essential
35-
- package-name: "serde"
36-
- package-name: "serde_json"
37-
- package-name: "tokio"
38-
- package-name: "clap"
35+
- serde
36+
- serde_json
37+
- tokio
38+
- clap
3939

4040
# Deny specific packages
4141
deny-packages:
4242
# Example of denying packages with known issues
43-
- package-name: "openssl-sys"
44-
reason: "Prefer rustls for pure Rust TLS implementation"
43+
- openssl-sys
4544

4645
# Allow vulnerabilities for specific advisories (temporary exceptions)
47-
allow-ghsas:
48-
# Example: Allow specific GitHub Security Advisories temporarily
49-
# - "GHSA-xxxx-xxxx-xxxx"
46+
allow-ghsas: []
5047

5148
# Configuration for comment behavior
5249
comment-summary-in-pr: auto

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
if: ${{ !inputs.cache_key }}
6060
runs-on: ubuntu-latest
6161
steps:
62-
- uses: actions/checkout@v5
62+
- uses: actions/checkout@v6
6363
- uses: dtolnay/rust-toolchain@stable
6464
with:
6565
components: rustfmt
@@ -76,7 +76,7 @@ jobs:
7676
if: ${{ !inputs.cache_key }}
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/checkout@v5
79+
- uses: actions/checkout@v6
8080
- uses: dtolnay/rust-toolchain@stable
8181
with:
8282
components: clippy
@@ -103,7 +103,7 @@ jobs:
103103
rust: beta
104104
runs-on: ${{ matrix.os }}
105105
steps:
106-
- uses: actions/checkout@v5
106+
- uses: actions/checkout@v6
107107

108108
# Setup cross-platform helper functions
109109
- name: Load helper functions
@@ -268,7 +268,7 @@ jobs:
268268
269269
- name: Download build artifacts (if available)
270270
if: inputs.cache_key != ''
271-
uses: actions/download-artifact@v5
271+
uses: actions/download-artifact@v6
272272
with:
273273
name: build-artifacts-${{ matrix.os }}
274274
path: target/
@@ -526,7 +526,7 @@ jobs:
526526
name: Minimum Supported Rust Version
527527
runs-on: ubuntu-latest
528528
steps:
529-
- uses: actions/checkout@v5
529+
- uses: actions/checkout@v6
530530

531531
# Setup cross-platform helper functions
532532
- name: Load helper functions

.github/workflows/master-pipeline.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
should_run_release: ${{ steps.config.outputs.should_run_release }}
5757
release_tag: ${{ steps.config.outputs.release_tag }}
5858
steps:
59-
- uses: actions/checkout@v5
59+
- uses: actions/checkout@v6
6060

6161
# Setup cross-platform helper functions
6262
- name: Load helper functions
@@ -217,7 +217,7 @@ jobs:
217217

218218
# Upload build artifacts for other jobs to use
219219
- name: Upload build artifacts
220-
uses: actions/upload-artifact@v4
220+
uses: actions/upload-artifact@v5
221221
with:
222222
name: build-artifacts-${{ runner.os }}
223223
path: |
@@ -317,7 +317,7 @@ jobs:
317317
permissions:
318318
contents: read
319319
steps:
320-
- uses: actions/checkout@v5
320+
- uses: actions/checkout@v6
321321

322322
- uses: dtolnay/rust-toolchain@stable
323323
with:
@@ -393,7 +393,7 @@ jobs:
393393
EOF
394394
395395
- name: Upload documentation artifacts
396-
uses: actions/upload-artifact@v4
396+
uses: actions/upload-artifact@v5
397397
with:
398398
name: documentation
399399
path: target/doc/
@@ -428,7 +428,7 @@ jobs:
428428
contents: read
429429
id-token: write
430430
steps:
431-
- uses: actions/checkout@v5
431+
- uses: actions/checkout@v6
432432

433433
- uses: dtolnay/rust-toolchain@stable
434434

@@ -500,7 +500,7 @@ jobs:
500500
artifact_name: rustirc-macos-arm64.tar.gz
501501
runs-on: ${{ matrix.os }}
502502
steps:
503-
- uses: actions/checkout@v5
503+
- uses: actions/checkout@v6
504504
with:
505505
fetch-depth: 0
506506

@@ -549,7 +549,7 @@ jobs:
549549
7z a ../../../${{ matrix.artifact_name }} rustirc.exe
550550
shell: pwsh
551551
- name: Upload build artifact
552-
uses: actions/upload-artifact@v4
552+
uses: actions/upload-artifact@v5
553553
with:
554554
name: ${{ matrix.artifact_name }}
555555
path: ${{ matrix.artifact_name }}
@@ -571,12 +571,12 @@ jobs:
571571
contents: write
572572
discussions: write
573573
steps:
574-
- uses: actions/checkout@v5
574+
- uses: actions/checkout@v6
575575
with:
576576
fetch-depth: 0
577577

578578
- name: Download artifacts
579-
uses: actions/download-artifact@v5
579+
uses: actions/download-artifact@v6
580580
with:
581581
path: artifacts
582582

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
permissions:
7272
contents: read
7373
steps:
74-
- uses: actions/checkout@v5
74+
- uses: actions/checkout@v6
7575
with:
7676
fetch-depth: 0
7777

@@ -120,7 +120,7 @@ jobs:
120120
shell: bash
121121

122122
- name: Upload artifact
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v5
124124
with:
125125
name: ${{ matrix.asset_name }}
126126
path: |
@@ -138,12 +138,12 @@ jobs:
138138
contents: write
139139
discussions: write
140140
steps:
141-
- uses: actions/checkout@v5
141+
- uses: actions/checkout@v6
142142
with:
143143
fetch-depth: 0
144144

145145
- name: Download all artifacts
146-
uses: actions/download-artifact@v5
146+
uses: actions/download-artifact@v6
147147
with:
148148
path: artifacts
149149

.github/workflows/security-audit.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
actions: read
5353
steps:
5454
- name: Checkout code
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656
with:
5757
fetch-depth: 0
5858

@@ -211,7 +211,7 @@ jobs:
211211
echo "count=$total" >> $GITHUB_OUTPUT
212212
213213
- name: Upload audit results as artifact
214-
uses: actions/upload-artifact@v4
214+
uses: actions/upload-artifact@v5
215215
if: always()
216216
with:
217217
name: security-audit-results
@@ -221,19 +221,24 @@ jobs:
221221
retention-days: 30
222222

223223
- name: Comment audit summary on PR
224-
if: github.event_name == 'pull_request'
224+
if: github.event_name == 'pull_request' && github.event.pull_request
225+
continue-on-error: true
225226
uses: actions/github-script@v8
226227
with:
227228
script: |
228229
const fs = require('fs');
229230
if (fs.existsSync('audit_summary.md')) {
230231
const summary = fs.readFileSync('audit_summary.md', 'utf8');
231-
github.rest.issues.createComment({
232-
issue_number: context.issue.number,
233-
owner: context.repo.owner,
234-
repo: context.repo.repo,
235-
body: `## 🛡️ Security Audit Results\n\n${summary}`
236-
});
232+
try {
233+
await github.rest.issues.createComment({
234+
issue_number: context.issue.number,
235+
owner: context.repo.owner,
236+
repo: context.repo.repo,
237+
body: `## 🛡️ Security Audit Results\n\n${summary}`
238+
});
239+
} catch (error) {
240+
console.log('Unable to post comment (may be called from workflow_call):', error.message);
241+
}
237242
}
238243
239244
dependency-review:
@@ -245,7 +250,7 @@ jobs:
245250
pull-requests: write
246251
steps:
247252
- name: Checkout code
248-
uses: actions/checkout@v5
253+
uses: actions/checkout@v6
249254

250255
- name: Dependency Review
251256
uses: actions/dependency-review-action@v4

0 commit comments

Comments
 (0)