Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
362065e
fix(read): only treat /* at line start as block comment opener
hgunduzoglu Jun 11, 2026
143f503
fix(init): create Claude config dir for global init
elite133713 Jun 19, 2026
2b08f52
refactor(read): drop redundant test comment
hgunduzoglu Jun 26, 2026
c11b018
fix(init): --agent cursor installs Cursor only and creates ~/.cursor
rNoz Jul 14, 2026
527b386
fix(read): track Python triple-quoted strings in minimal filter
imkp1 Jul 30, 2026
b2b6485
docs(core): note why Python skips the block-comment walk
imkp1 Jul 30, 2026
2398f8c
fix(discover): distinguish zero-session scans
jaideeppyne Aug 3, 2026
d2d5054
fix(discover): match the project filter case-insensitively on Windows
TemRevil Aug 13, 2026
088ceda
build(deps): bump actions/setup-go from 5 to 7
dependabot[bot] Sep 9, 2026
806c0df
build(deps): bump actions/github-script from 7.1.0 to 9.0.0
dependabot[bot] Sep 9, 2026
a780d43
build(deps): bump actions/stale from 9 to 11
dependabot[bot] Sep 9, 2026
48d712d
build(deps): bump softprops/action-gh-release from 2 to 3
dependabot[bot] Sep 9, 2026
98f8fff
fix(discover): require token boundaries for rewrite rules
axelray-dev Sep 13, 2026
aefc45c
fix(pip): stop doubling the tool name in pip messages
obrienciaran Sep 14, 2026
dc643a8
comments
obrienciaran Sep 14, 2026
7520531
docs(pip): say why prog_label exists, not what it does
obrienciaran Sep 14, 2026
28627f3
fix(pytest): preserve elapsed duration in summaries
igorzelaya-io Sep 15, 2026
377177c
test: stop tests depending on the contributor's locale and repo
KuSh Sep 2, 2026
e5518dc
fix(discover): preserve namespaced rake test rewrites
axelray-dev Sep 19, 2026
f6ef006
refactor(hooks): consolidate hook config I/O
yeahjack Sep 20, 2026
bdee7f2
fix(diff): distinguish read failures from file differences
TaKO8Ki Sep 21, 2026
757188f
fix(gradle): remove the unreachable gradle.toml filter
guyoron1 Sep 21, 2026
2b2a662
feat(search): fold shared path prefix in file-list passthrough
israellot Sep 21, 2026
2de82b9
refactor(diff): name the trouble exit code
KuSh Sep 22, 2026
5ec8b8c
refactor(hooks): split `init.rs` into per-agent submodules
jpds Sep 19, 2026
67a5416
Merge branch 'develop' into fix/global-init-create-claude-config-dir
elite133713 Sep 23, 2026
94a1f3d
test(init): keep OpenCode install when Claude dir is missing
elite133713 Sep 23, 2026
dadcfde
fix(rewrite): keep a grep/rg file-list producer raw before head/tail
KuSh Sep 23, 2026
37ec959
fix(hooks): treat a null matcher as match-all and isolate the Copilot…
KuSh Sep 23, 2026
3729bc4
docs(rules): correct built-in filter count after gradle.toml removal
KuSh Sep 24, 2026
05320b9
fix(pip): use prog_label in tracking labels too
obrienciaran Sep 24, 2026
2bf3eb7
Merge pull request #4151 from yeahjack/refactor/hook-config-io
KuSh Sep 24, 2026
3223a80
fix(search): leave a file list verbatim when a line is not a plain path
KuSh Sep 24, 2026
762a8e6
test(search): run the file-list fold test on BSD grep, skip it on Win…
KuSh Sep 25, 2026
bf23cff
Merge pull request #4169 from TaKO8Ki/fix/diff-read-error-exit-code
KuSh Sep 25, 2026
b4d2396
Merge pull request #2709 from guyoron1/fix/gradle-filter-regex-match
KuSh Sep 25, 2026
feac25d
Merge pull request #4170 from israellot/feat/search-fold-file-list-pr…
KuSh Sep 25, 2026
c6f484f
fix(openclaw): let the host own approval without losing RTK's gates
lucabattistini Sep 25, 2026
60446ff
Merge pull request #4014 from axelray-dev/fix/discover-token-boundaries
KuSh Sep 25, 2026
384b8a5
Merge develop into the init.rs split, carrying #4151 into the new mod…
KuSh Sep 25, 2026
c50ff30
Merge pull request #3878 from jpds/refactor/hooks-init-split
KuSh Sep 25, 2026
fe3ba46
Merge branch 'develop' into fix/global-init-create-claude-config-dir
KuSh Sep 25, 2026
91872ab
Merge pull request #2521 from elite133713/fix/global-init-create-clau…
KuSh Sep 25, 2026
a2ab981
Merge develop into fix/init-agent-cursor-directory
KuSh Sep 25, 2026
f29882b
test(init): pin the cursor init tests' environment and cover each input
KuSh Sep 25, 2026
b21c038
Merge pull request #3000 from rNoz/fix/init-agent-cursor-directory
KuSh Sep 25, 2026
ea1ead8
fix(read): skip one-line strings and comments when tracking Python tr…
KuSh Sep 25, 2026
f3d4d9b
Merge pull request #2397 from hgunduzoglu/fix/minimal-filter-comment-…
KuSh Sep 25, 2026
875333c
Merge branch 'develop' into fix/minimal-python-multiline-string
KuSh Sep 26, 2026
c75f159
Merge pull request #3336 from imkp1/fix/minimal-python-multiline-string
KuSh Sep 26, 2026
9833d66
fix: allow tee mode to record recall stats
TechWizard9999 Sep 26, 2026
637a2d1
fmt: fix line length in gain.rs message
TechWizard9999 Sep 26, 2026
58f42f2
fix: allow clean-run summaries to bypass never_worse guard for inject…
TechWizard9999 Sep 26, 2026
8c033aa
fmt: fix line length in pint_cmd.rs
TechWizard9999 Sep 26, 2026
7a446f1
fix: use contains() instead of iter().any() for clippy
TechWizard9999 Sep 26, 2026
c298de6
fix(cli)!: preserve argv boundaries in generic runners
pashifika Jul 18, 2026
2b198ec
docs: document shell execution boundaries
pashifika Jul 18, 2026
3ee51b2
fix(cli): answer for a program that cannot run, not just an unresolva…
pashifika Sep 22, 2026
95d4422
docs: record the Windows and exit-code deltas of direct execution
pashifika Sep 22, 2026
753c448
test(cli): witness Windows argv encoding with rtk, not cmd.exe
pashifika Sep 25, 2026
09cc268
fix(cli): scope the --shell guard to test, and compose the group strip
pashifika Sep 25, 2026
f9f4092
revert: leave the tee-mode recall store change to #4263
KuSh Sep 26, 2026
bff334c
fix(ruff): bypass never_worse only for the format rtk injected
KuSh Sep 26, 2026
3d829e1
Merge pull request #4266 from TechWizard9999/fix/4218-ruff-clean-json…
KuSh Sep 26, 2026
0b07197
fix(hooks): reach deployed hooks with the host scrub, and pin it
KuSh Sep 26, 2026
a89a314
Merge pull request #3909 from lucabattistini/feat/openclaw-host-permi…
KuSh Sep 26, 2026
3598afc
test(cli): pin the passthrough --shell guard, the group balance and t…
KuSh Sep 26, 2026
45b0b4c
Merge pull request #4125 from pashifika/fix/cli-argv-boundaries
KuSh Sep 26, 2026
27774fe
feat(hook): add native Google Antigravity plugin lifecycle and hook s…
Aayushyaash Sep 14, 2026
0de0531
docs(antigravity): document plugin architecture, lifecycle, and permi…
Aayushyaash Sep 14, 2026
064cb2f
test(antigravity): add dedicated integration suite and edge-case unit…
Aayushyaash Sep 27, 2026
ebb6b72
fix(pytest): preserve long-run durations
igorzelaya-io Sep 27, 2026
80cee41
test(pytest): pin the duration guards and every summary shape that em…
KuSh Sep 27, 2026
c529013
Merge pull request #4076 from igorzelaya-io/fix/pytest-preserve-duration
KuSh Sep 27, 2026
99be1f3
Merge remote-tracking branch 'upstream/develop' into tmp-merge-3374
KuSh Sep 27, 2026
5a6c151
test(discover): drive the Windows case-insensitive project filter thr…
KuSh Sep 27, 2026
22ae255
fix(discover): name the scan scope in the zero-session message
KuSh Sep 27, 2026
925f9be
Merge upstream/develop into fix/discover-windows-path-case
KuSh Sep 27, 2026
bccafef
Merge pull request #3374 from jaideeppyne/fix/3315-discover-zero-sess…
KuSh Sep 27, 2026
2955687
Merge pull request #2931 from TemRevil/fix/discover-windows-path-case
KuSh Sep 27, 2026
720d276
Merge pull request #4053 from obrienciaran/fix/pip-doubled-tool-name-…
KuSh Sep 28, 2026
0671ac5
fix(init): give the Antigravity plugin its awareness rules, and repor…
KuSh Sep 27, 2026
7efbaef
Merge pull request #3711 from Aayushyaash/feat/hook-agy-support
KuSh Sep 28, 2026
6fbfc6c
chore(deps): bump actions/upload-artifact from 4 to 7
dependabot[bot] Sep 28, 2026
049f399
Merge pull request #3815 from rtk-ai/dependabot/github_actions/develo…
KuSh Sep 28, 2026
c0180c7
Merge pull request #3816 from rtk-ai/dependabot/github_actions/develo…
KuSh Sep 28, 2026
bcb1f53
Merge pull request #3823 from rtk-ai/dependabot/github_actions/develo…
KuSh Sep 28, 2026
1b6f836
Merge pull request #3821 from rtk-ai/dependabot/github_actions/develo…
KuSh Sep 28, 2026
6d4b77e
Merge pull request #3819 from rtk-ai/dependabot/github_actions/develo…
KuSh Sep 28, 2026
40c861d
chore(deps): bump actions/checkout from 4 to 7
dependabot[bot] Sep 30, 2026
0f6b844
bench: measure both sides on stdout+stderr
KuSh Aug 30, 2026
77a0c68
Merge pull request #3826 from KuSh/fix/tests-locale-independence
KuSh Sep 30, 2026
e0d99ab
fix(tests): keep the test suite and the developer's environment apart
KuSh Sep 30, 2026
947de11
Merge pull request #3774 from KuSh/bench/symmetric-stderr-measurement
KuSh Sep 30, 2026
2349865
Merge pull request #4353 from rtk-ai/dependabot/github_actions/develo…
KuSh Oct 1, 2026
bf1906f
ci: start the transparency pipeline on release pull requests
Oct 1, 2026
91f0bbb
ci: restrict the transparency trigger to same-repository pull requests
Oct 1, 2026
4c8a255
Merge pull request #3758 from KuSh/fix/test-db-isolation
KuSh Oct 1, 2026
a6408ad
fix(shell): run unresolvable single-string commands through the platf…
Oct 1, 2026
364aef6
ci: require the next-release label on the transparency trigger
Oct 1, 2026
3a12dfe
Merge pull request #4371 from rtk-ai/ci/transparency-trigger
aeppling Oct 1, 2026
ff9bd8e
Merge pull request #4381 from rtk-ai/fix/single-string-shell-fallback
aeppling Oct 2, 2026
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
2 changes: 1 addition & 1 deletion .claude/agents/rust-rtk.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ fn test_real_git_log() {
- `src/cmds/system/` - ls.rs, tree.rs, read.rs, grep_cmd.rs, find_cmd.rs, etc.

**Hook & analytics** (`src/hooks/`, `src/analytics/`):
- `src/hooks/init.rs` - rtk init command
- `src/hooks/init/` - rtk init command
- `src/analytics/gain.rs` - rtk gain command

**Tests**:
Expand Down
2 changes: 1 addition & 1 deletion .claude/commands/tech/codereview.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ git diff "$BASE_BRANCH"...HEAD --stat
| `src/main.rs` | Command routing + Commands enum |
| `src/core/tracking.rs` | SQLite patterns + DB path config |
| `src/core/config.rs` | Configuration system |
| `src/hooks/init.rs` | Init patterns + hook installation |
| `src/hooks/init/` | Init patterns + hook installation |
| `.github/workflows/` | CI/CD multi-platform build targets |
| `tests/` ou `fixtures/` | Testing Strategy (CLAUDE.md) |
| `Cargo.toml` | Dependencies + build optimizations |
Expand Down
18 changes: 11 additions & 7 deletions .claude/hooks/rtk-rewrite.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# rtk-hook-version: 3
# rtk-hook-version: 4
# RTK auto-rewrite hook for Claude Code PreToolUse:Bash
# Transparently rewrites raw commands to their RTK equivalents.
# Uses `rtk rewrite` as single source of truth — no duplicate mapping logic here.
#
# To add support for new commands, update src/discover/registry.rs (PATTERNS + RULES).
#
# Exit code protocol for `rtk rewrite`:
# 0 + stdout Rewrite found, no deny/ask rule matched → auto-allow
# 0 + stdout Rewrite found, an allow rule matched → auto-allow
# 1 No RTK equivalent → pass through unchanged
# 2 Deny rule matched → pass through (Claude Code native deny handles it)
# 3 + stdout Ask rule matched → rewrite but let Claude Code prompt the user
# 3 + stdout Ask rule matched, or no rule matched → rewrite but let Claude Code prompt the user

# --- Audit logging (opt-in via RTK_HOOK_AUDIT=1) ---
_rtk_audit_log() {
Expand Down Expand Up @@ -45,13 +45,17 @@ case "$CMD" in
esac

# Rewrite via rtk — single source of truth for all command mappings and permission checks.
# Scrub RTK_REWRITE_HOST: that channel relaxes RTK's approval gate, and this
# hook turns exit 0 into an explicit allow, so an inherited value (a shell rc,
# .envrc, or CI env) must not reach it. Only the delegate that sets it may
# rely on it.
# Use "|| EXIT_CODE=$?" to capture non-zero exit codes without triggering set -e.
EXIT_CODE=0
REWRITTEN=$(rtk rewrite "$CMD" 2>/dev/null) || EXIT_CODE=$?
REWRITTEN=$(env -u RTK_REWRITE_HOST rtk rewrite "$CMD" 2>/dev/null) || EXIT_CODE=$?

case $EXIT_CODE in
0)
# Rewrite found, no permission rules matched — safe to auto-allow.
# Rewrite found and an allow rule matched — safe to auto-allow.
if [ "$CMD" = "$REWRITTEN" ]; then
_rtk_audit_log "skip:already_rtk" "$CMD"
exit 0
Expand All @@ -68,8 +72,8 @@ case $EXIT_CODE in
exit 0
;;
3)
# Ask rule matched — rewrite the command but do NOT auto-allow so that
# Claude Code prompts the user for confirmation.
# An ask rule matched, or no rule did — rewrite the command but do NOT
# auto-allow, so Claude Code prompts the user for confirmation.
;;
*)
exit 0
Expand Down
55 changes: 43 additions & 12 deletions .claude/rules/cli-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,52 @@ behavior (search/grep compression, guard rails, faithful formatting) rather than
filter module, and several of them draw on `tests/fixtures/` (real captured aws/glab/gradlew/
mvn/phpstan/dotnet output) alongside their own inline cases.

### Machine independence (🔴 Critical)

A test that spawns a real process must not depend on the machine it runs on. Two rules,
both with `src/core/test_isolation/` helpers behind them (`tests/common/mod.rs` for the
integration tests):

- **Never assert on a third-party tool's wording.** git, grep and coreutils translate their
messages, so `stderr.contains("not a git repository")` fails outright in a French shell —
and a *negative* assertion (`!out.contains("Is a directory")`) is worse, passing vacuously
while testing nothing. Assert RTK's own output, or the structure (exit code, which stream
the message went to). Spawn rtk through `test_isolation::rtk_command()`
(`common::rtk_command()` under `tests/`): it redirects rtk's data and neutralizes the
contributor's git config and exported `GIT_*` variables, but leaves the locale to the
test. When a test genuinely needs a tool's English text, set `LC_ALL=C` on that command,
and on any native tool its output is compared with. A git the test runs itself goes
through `isolate_git()`, which pins it.
- **Never touch the ambient repository.** Use `test_isolation::temp_git_repo()` and
`.current_dir(repo.path())`. A test that runs `git branch` in whatever repo the
contributor is sitting in mutates their work, and one that assumes it is inside a repo at
all silently stops exercising anything when it isn't.

Verify a change here against a hostile environment, not just yours:

```bash
LC_ALL=de_DE.UTF-8 LANGUAGE=de cargo test --all -- --include-ignored
GIT_DIR=/path/to/another/repo/.git RTK_NO_TOML=1 RTK_TEE=0 cargo test --all -- --include-ignored
TMPDIR=/path/inside/a/git/repo cargo test --all -- --include-ignored
```

and with a `~/.gitconfig` that signs commits, deny rules in `~/.claude/settings.json`, and a
`global.json` or `.ignore` above `TMPDIR`: none of it may change a result, and none of it may
be written to.

### Real Command Execution

```rust
#[test]
#[ignore] // Run with: cargo test --ignored
fn test_real_git_log() {
// Requires:
// 1. RTK binary installed (cargo install --path .)
// 2. Git repository available

let output = std::process::Command::new("rtk")
// The binary cargo built for this run, with rtk's data redirected to a
// scratch directory (the installed `rtk` would write to the developer's own),
// in a throwaway repository rather than the one the tests run from.
let repo = common::temp_git_repo();
let output = common::rtk_command()
.args(&["git", "log", "-10"])
.current_dir(repo.path())
.output()
.expect("Failed to run rtk");

Expand All @@ -217,16 +251,13 @@ fn test_real_git_log() {
### Running Integration Tests

```bash
# 1. Install RTK locally
cargo install --path .

# 2. Run all tests, including top-level tests/*.rs integration tests
# 1. Run all tests, including top-level tests/*.rs integration tests
cargo test --all

# 3. Run ignored (real-process) integration tests
# 2. Run ignored (real-process) integration tests
cargo test --ignored

# 4. Run specific test
# 3. Run specific test
cargo test --ignored test_real_git_log
```

Expand Down Expand Up @@ -457,7 +488,7 @@ fn test_ansi_codes() {
#[test]
#[ignore]
fn test_real_command_execution() {
let output = std::process::Command::new("rtk")
let output = common::rtk_command()
.args(&["cmd", "args"])
.output()
.expect("Failed to run rtk");
Expand Down
6 changes: 3 additions & 3 deletions .claude/rules/search-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ src/
│ ├── runner.rs ← Command execution runner
│ └── stream.rs ← Streaming output handling
├── hooks/ ← Hook system
│ ├── init.rs ← rtk init command
│ ├── init/ ← rtk init command
│ ├── rewrite_cmd.rs ← rtk rewrite command
│ ├── hook_cmd.rs ← Gemini/Copilot hook processors
│ ├── hook_check.rs ← Hook status detection
Expand Down Expand Up @@ -62,7 +62,7 @@ src/
├── discover/ ← Claude Code history analysis
├── learn/ ← CLI correction detection
├── parser/ ← Parser infrastructure
└── filters/ ← 63 TOML filter configs
└── filters/ ← 62 TOML filter configs
```

## Common Search Patterns
Expand Down Expand Up @@ -146,7 +146,7 @@ Glob pattern="tests/fixtures/*.txt"
### Configuration issues

1. `src/core/config.rs` → `RtkConfig` struct
2. `src/hooks/init.rs` → `rtk init` command
2. `src/hooks/init/` → `rtk init` command
3. Config file: `~/.config/rtk/config.toml`
4. Filter files: `~/.config/rtk/filters/` (global) or `.rtk/filters/` (project)

Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/rtk-tdd/references/testing-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Prioritized by testability (pure functions first, I/O-heavy last).
| `find_cmd.rs` | Directory grouping logic | Filesystem-dependent |
| `wget_cmd.rs` | `compact_url`, `format_size`, `truncate_line`, `extract_filename_from_output` | Some pure helpers worth testing |
| `gain.rs` | Display formatting | Depends on tracking DB |
| `init.rs` | CLAUDE.md generation | File I/O |
| `hooks/init/` | CLAUDE.md generation | File I/O |
| `main.rs` | CLI routing | Covered by smoke tests |

## RTK Test Patterns
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
tag: ${{ steps.tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
private-key: ${{ secrets.APP_PRIVATE_KEY }}
permission-contents: write

- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: test presence
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 50
- name: Check filter modules have tests
Expand All @@ -30,7 +30,7 @@ jobs:
name: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
Expand All @@ -41,7 +41,7 @@ jobs:
needs: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand All @@ -59,7 +59,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -71,7 +71,7 @@ jobs:
needs: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- run: semgrep scan --config .semgrep.yml --baseline-commit ${{ github.event.pull_request.base.sha }} --error
Expand All @@ -204,7 +204,7 @@ jobs:
needs: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: dtolnay/rust-toolchain@stable

Expand All @@ -214,13 +214,13 @@ jobs:
run: cargo build --release

- name: Install system tools
run: sudo apt-get install -y tree
run: sudo apt-get install -y tree ripgrep

- name: Install Python tools
run: pip install ruff pytest mypy

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version: "stable"

Expand All @@ -237,7 +237,7 @@ jobs:
if: github.base_ref == 'develop'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-target-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permission-pull-requests: write

- name: Add wrong-base label and comment
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
github-token: ${{ steps.app-token.outputs.token }}
script: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
cd ../../..

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: rtk-${{ matrix.target }}
path: rtk-${{ matrix.target }}.${{ matrix.archive }}
Expand All @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -125,7 +125,7 @@ jobs:
RTK_TELEMETRY_TOKEN: ${{ secrets.RTK_TELEMETRY_TOKEN }}

- name: Upload DEB
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: rtk-deb
path: target/debian/*.deb
Expand All @@ -136,7 +136,7 @@ jobs:
container: fedora:latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install dependencies
run: |
Expand All @@ -155,7 +155,7 @@ jobs:
run: cargo generate-rpm

- name: Upload RPM
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: rtk-rpm
path: target/generate-rpm/*.rpm
Expand All @@ -173,7 +173,7 @@ jobs:
permission-contents: write

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Download all artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
sha256sum * > checksums.txt

- name: Upload Release Assets
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ steps.version.outputs.version }}
files: release/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
permission-issues: write
permission-pull-requests: write

- uses: actions/stale@v9
- uses: actions/stale@v11
with:
repo-token: ${{ steps.app-token.outputs.token }}
# --- Issues & PRs ---
Expand Down
Loading
Loading