Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 6 additions & 19 deletions .github/workflows/pr-contributor-welcome.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Welcome external contributors and approve Dependabot PRs
name: Welcome external contributors

on:
pull_request_target:
types: [opened]

# Comments only. Nothing here approves a pull request: a workflow approval
# would count as the one review `main` requires, and with "Allow GitHub
# Actions to create and approve pull requests" off (CLAUDE.md, "How a
# post-release bump reaches `main`") GitHub refuses it and the run goes red.
# `issues: write` is enough to comment on a pull request.
permissions:
contents: read
pull-requests: write
issues: write

jobs:
Expand Down Expand Up @@ -95,20 +99,3 @@ jobs:
// The contributor is welcomed either way; a webhook Slack refuses
// turns the run red so a broken page does not go unnoticed.
if (slackError) core.setFailed(`Could not page the team on Slack: ${slackError}`);

approve-dependabot:
name: Approve Dependabot PR
if: github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Approve pull request
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
await github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
body: 'Automated approval for Dependabot dependency update.',
});
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixes

- Add a global `--no-color` flag, the same as `NO_COLOR=1`, accepted before or after any command; `failproofai policies` already honors `NO_COLOR` (#1067, from #695, #700, #848, fixes #688)
- CI: the contributor-welcome workflow no longer tries to approve Dependabot pull requests. GitHub refuses a workflow approval while "Allow GitHub Actions to create and approve pull requests" is off, so every Dependabot PR got a failed run, and with it on the approval would count as the one review `main` requires. Dependency updates are reviewed by a person; the workflow drops `pull-requests: write` (#1049)

### Docs

Expand All @@ -17,6 +18,10 @@
- The failproof agent docs say the agent, audits and other generated analysis use the model assigned to the organization's plan, with no model picker to configure (#1065, from #996)
- The evaluation test page says LLM judges cannot be tested before they are deployed, and that testing a Jev evaluation spends model budget (#1065, from #846)

### Dependencies

- `fpai-collect`: update `notify` from 8.2.2 to 9.0.0 and `rusqlite` from 0.42.0 to 0.43.0 (#1049)

## 1.0.18-beta.0 — 2026-11-24

### Features
Expand Down
19 changes: 13 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions __tests__/ci/pr-contributor-welcome.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ async function run(
}

describe("pr-contributor-welcome workflow", () => {
// A workflow approval counts as the one review main requires, and with
// "Allow GitHub Actions to create and approve pull requests" off GitHub
// refuses it, which turned every Dependabot PR's run red (#1049).
it("only comments: one job, no pull-request permission, nothing that approves", () => {
expect(Object.keys(WORKFLOW.jobs)).toEqual(["welcome"]);
expect(WORKFLOW.permissions).toEqual({ contents: "read", issues: "write" });
expect(SCRIPT).not.toMatch(/createReview|APPROVE/);
});

it("reads the Slack webhook from a secret, and nothing the PR author chose is spliced into the script", () => {
expect(STEP.env.SLACK_WEBHOOK_URL).toBe("${{ secrets.SLACK_OSS_CONTRIBUTOR_WEBHOOK_URL }}");
expect(SCRIPT).not.toContain("${{");
Expand Down
4 changes: 2 additions & 2 deletions crates/fpai-collect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"
# inotify on Linux, FSEvents on macOS. Only ever a latency optimisation — the
# sweeper is what guarantees delivery, so a watcher that fails to register
# degrades to interval-only rather than losing anything.
notify = "8"
notify = "9"
# Epoch-millis to RFC3339 with microseconds. Hand-rolling civil date maths is
# a silent-failure risk — a leap-year slip would put every event on the wrong
# day with nothing to notice it — and this pulls no C code onto any of the
Expand All @@ -50,7 +50,7 @@ notify = "8"
# the file-tailer converters can leave it out. AgentEye's server imports Claude
# Code / Codex transcripts with these converters, and its sqlx links a different
# libsqlite3-sys — two crates linking `sqlite3` cannot share one build.
rusqlite = { version = "0.42", features = ["bundled"], optional = true }
rusqlite = { version = "0.43", features = ["bundled"], optional = true }
# OpenClaw 2026.9.6+ stores a large transcript event zstd-compressed in
# `event_zstd` and leaves `event_json` NULL. A pure-Rust decoder, for the same
# reason rustls is chosen above: no C toolchain on the four cross-compiled legs.
Expand Down
Loading