Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
ceccb1f
Merge pull request #2493 from KomodoPlatform/staging
shamardy Jun 16, 2025
99896d0
Merge pull request #2495 from KomodoPlatform/staging
shamardy Jun 16, 2025
dc6e2f0
Merge pull request #2501 from KomodoPlatform/staging
shamardy Jun 24, 2025
258feab
chore(core): adapt `MmError` and usages for compatibility with new ru…
borngraced Jun 26, 2025
7f27264
chore(core): replace hash_raw_entry with stable entry() API (#2473)
borngraced Jun 26, 2025
f15e026
Merge pull request #2509 from KomodoPlatform/staging
shamardy Jun 28, 2025
8201f31
Merge pull request #2513 from KomodoPlatform/staging
shamardy Jun 30, 2025
8a2ccf6
fix(kdf_walletconnect): apply explicit MmError mapping (#2514)
shamardy Jul 1, 2025
8c9326e
feat(swap): rpc to find best swap with liquidity routing for ask (#2362)
Jul 2, 2025
7d51c5a
chore(toolchain): upgrade toolchain to nightly 1.86.0 (#2444)
borngraced Jul 3, 2025
5f4a3d4
Merge pull request #2525 from KomodoPlatform/staging
shamardy Jul 4, 2025
5435982
improvement(eth): drop parity support (#2527)
onur-ozkan Jul 7, 2025
805aed3
feat(orderbook): expirable maker orders (#2516)
onur-ozkan Jul 8, 2025
eab8081
feat(use-clap-for-cli): use clap to parse CLI-Args #2215 (#2510)
BigFish2086 Jul 10, 2025
5c8a4b1
fix(eth): Correctly implement ETH max withdrawal logic (#2531)
shamardy Jul 11, 2025
6aff6fc
fix(eth): Propagate structured EIP-1559 fee errors (#2532)
shamardy Jul 14, 2025
aaef154
improvement(event-streaming): impl DeriveStreamerId trait for all str…
BigFish2086 Jul 16, 2025
36cba1c
fix(WASM and Debian): fix build failures (#2534)
onur-ozkan Jul 16, 2025
b59860b
fix(ci): adds nodejs 20 to ci-container (#2536)
smk762 Jul 18, 2025
daf43eb
refactor(toolchain): general stabilization for stable rust (#2528)
onur-ozkan Jul 24, 2025
817b415
fix(DOCS): add note for macos to fix docker containers startup failur…
Jul 24, 2025
4408ad1
improve note for docker test start failure (#2550)
Jul 26, 2025
ed6ea1c
fix(dev): back-propagate get_private_keys hotfix from staging
shamardy Jul 28, 2025
d2d978d
Merge pull request #2556 from KomodoPlatform/chore/2.5.1-staging-to-dev
shamardy Jul 28, 2025
1979c6e
refactor(toolchain): use latest available stable compiler (#2557)
onur-ozkan Jul 29, 2025
e2f949f
bless clippy (#2560)
onur-ozkan Jul 30, 2025
7c3d8be
improvement(walletconnect): return the `pairing_topic` in `new_connec…
mariocynicys Jul 30, 2025
5b2d8d1
ci(pull-requests): review notification bot (#2468)
onur-ozkan Jul 30, 2025
a19e442
feat(utxo): add new fixed txfee option for DINGO-like coins (#2454)
Jul 30, 2025
68bc4eb
feat(wallet-connect): impl BTC (UTxO) activation via WalletConnect (#…
mariocynicys Jul 31, 2025
c93adea
fix(utxo): correct block header deserialization for AuxPow and KAWPOW…
shamardy Aug 4, 2025
6691950
improvement(dep-stack): security bumps (#2562)
onur-ozkan Aug 4, 2025
6172ba8
fix(utxo): deserialize sapling root for PIVX block headers (#2572)
shamardy Aug 5, 2025
cbe613d
chore(rust 1.89): make CI clippy/fmt pass (wasm32, all-targets) (#2581)
shamardy Aug 8, 2025
1d96f9a
fix(utxo): fix header deserialization; guard AuxPoW (#2583)
shamardy Aug 12, 2025
cd0dce3
feat(protocol): [0] solana support (#2586)
onur-ozkan Aug 12, 2025
32b9e2d
fix(utxo): calculate min_trading_vol based on fixed tx fees (#2564)
shamardy Aug 12, 2025
4c830ce
fix(Trezor): fix utxo and eth calls due to firmware changes (#2565)
Aug 12, 2025
089712e
fix(clippy): fix clippy warnings for #2565 (#2589)
shamardy Aug 12, 2025
f5f0b18
fix(ordermatch): ignore loop-back; clear on null root; reject stale k…
shamardy Aug 12, 2025
1ea823f
fix(orders): set subscription on kickstart and skip GC of own pubkeys…
shamardy Aug 18, 2025
004d8d8
improvement(`static mut`s): `static mut` removal (#2590)
onur-ozkan Aug 18, 2025
abaf05a
refactor(EVM): rename fn, fix timeouts, add activation req validation…
Aug 19, 2025
9a2f74e
fix build script failing to find .git/HEAD (#2601)
onur-ozkan Aug 21, 2025
80766b0
update zcash param script for tests (#2606)
gcharang Aug 22, 2025
2d2d072
ci(wasm): add GHA to deploy wasm playground previews on PRs (#2607)
gcharang Aug 27, 2025
e775849
fix(UTXO): remove extra opcode check in scriptSig signature parsing f…
Aug 28, 2025
b891ed6
feat(utxo): introduce a utxo consolidation rpc (#2587)
mariocynicys Aug 29, 2025
8ecf882
improvement(RPC): make `params` payload flexible for certain RPCs (#2…
onur-ozkan Sep 4, 2025
ea91c0d
feat(eth): improve gas fee policy code (#2533)
Sep 6, 2025
c6c3cc1
fix(orderbook): validate roots before commit (#2605)
shamardy Sep 10, 2025
d6e2324
feat(protocol): [1] solana support (#2598)
onur-ozkan Sep 11, 2025
9a76d11
Revert "fix(orderbook): validate roots before commit (#2605)"
shamardy Oct 3, 2025
fa3fc5d
Revert "fix(ordermatch): ignore loop-back; clear on null root; reject…
shamardy Oct 3, 2025
6f6098d
chore(rust 1.90): make CI clippy/fmt pass
shamardy Oct 6, 2025
85938ef
fix(evm-swapv2): no mempool inclusion required for maker payment vali…
shamardy Oct 6, 2025
bd5bbbb
fix(zcoin): exact-anchor witnesses in wasm get_spendable_notes (#2629)
shamardy Oct 6, 2025
4025b8c
Merge pull request #2631 from KomodoPlatform/rollback-2605-2580
shamardy Oct 6, 2025
118804f
chore(release): merge staging into dev (2.5.2 malloc hotfix)
shamardy Oct 7, 2025
30fa1ea
Merge pull request #2635 from KomodoPlatform/chore/2.5.2-malloc-hotfi…
shamardy Oct 7, 2025
25ed05a
chore(release): merge staging into dev (2.5.2 macos universal build)
shamardy Oct 7, 2025
a8cbfb3
Merge pull request #2636 from KomodoPlatform/chore/2.5.2-macos-univer…
shamardy Oct 7, 2025
df0225d
Merge remote-tracking branch 'origin/dev' into chore/2.5.2-version-bu…
shamardy Oct 7, 2025
a68b891
Merge pull request #2640 from KomodoPlatform/chore/2.5.2-version-bump…
shamardy Oct 7, 2025
b1e5a5d
Merge pull request #2642 from KomodoPlatform/chore/2.5.2-container-bu…
shamardy Oct 7, 2025
0f45a51
fix(tests): fix/remove kmd rewards failing test (#2633)
mariocynicys Oct 7, 2025
347d8fc
fix(TPU): correct dexfee in check balance to prevent swap failures (#…
Oct 7, 2025
0576094
Merge remote-tracking branch 'origin/dev' into chore/2.5.2-wasm-nulli…
shamardy Oct 16, 2025
3020a14
Merge pull request #2653 from KomodoPlatform/chore/2.5.2-wasm-nullifi…
shamardy Oct 16, 2025
a62bac1
Merge remote-tracking branch 'origin/dev' into chore/2.5.2-arrr-statu…
shamardy Oct 21, 2025
cd848e1
Merge pull request #2658 from KomodoPlatform/chore/2.5.2-arrr-status-…
shamardy Oct 21, 2025
28adcf5
Merge pull request #2660 from KomodoPlatform/chore/2.5.2-changelogs-s…
shamardy Oct 21, 2025
23d02f2
improvement(RPC): jsonize help result
onur-ozkan Oct 24, 2025
656487b
improvement(protocol): implement tendermint `get_trade_fee` (#2663)
onur-ozkan Oct 24, 2025
9353a5d
feat(protocol): [2] solana support (#2622)
onur-ozkan Oct 27, 2025
c1175ce
fix(electrum): query block count in sequential manner (#2666)
mariocynicys Oct 27, 2025
9aa41b4
improvement(core): handle more OS signals and broadcast them (#2667)
onur-ozkan Oct 27, 2025
7a22854
hotfix: handle streamer error gracefully (#2669)
onur-ozkan Oct 28, 2025
34fdd22
bless clippy for the latest stable version (#2675)
onur-ozkan Oct 31, 2025
404502a
fix(sse): fix broken client id parsing logic (#2677)
onur-ozkan Oct 31, 2025
bebdc9a
Fix iOS Certificate Validation Issue for Tendermint Balance Streaming…
smk762 Oct 31, 2025
7f60b34
copy the url params from the search bar to the event-stream endpoint …
mariocynicys Nov 1, 2025
dcf8d92
fix(swapv2): offline validation, tx visibility check and one-shot reb…
shamardy Nov 4, 2025
95cddba
improvement(solana): solana WASM support (#2679)
onur-ozkan Nov 5, 2025
3e0f091
chore(docker-tests): don't use port 7000 for MYCOIN (#2681)
mariocynicys Nov 5, 2025
f537dce
chore(git-blame): add a revs ignore file for git blame (#2649)
mariocynicys Nov 5, 2025
e4d9d8e
fix(legacy-swap): make payment transaction broadcast interval smaller…
Nov 5, 2025
544c028
improvement(ordermatch): split trie from orderbook to reduce pre-prop…
shamardy Nov 5, 2025
1874d43
fix(offline-keys): use CryptoCtx for Iguana get_private_keys (#2683)
shamardy Nov 10, 2025
2b35f2a
fix(offline-keys): correct z-derivation path formatting in offline HD…
DeckerSU Nov 11, 2025
fbe6f6f
feat(sia): complete SIA integration (#2540)
shamardy Nov 25, 2025
82bcc7a
refactor(utxo): remove hardcoded CoinVariant in favor of ChainVariant…
shamardy Nov 25, 2025
daa34ab
feat(legacy-swaps): ban maker if swap negotiation failed (#2688)
Nov 25, 2025
db4049c
chore(release): bump kdf version to 2.6.0-beta (#2693)
shamardy Nov 25, 2025
9121639
add changelog entries for v2.6.0-beta (#2694)
shamardy Nov 25, 2025
482decb
Merge pull request #2695 from KomodoPlatform/dev
shamardy Nov 25, 2025
e274b88
deps(cargo): update slab to 0.4.11 (#2697)
shamardy Nov 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 17 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
[env]
# Enables unstable features for specific crates to take advantage of useful
# functionality not yet stabilized. Remove a crate from the list once all
# required features are stabilized.
#
# # Core crates (used in production)
#
# - mm2_state_machine: Depends on `negative_impls` and `auto_traits`.
# - mm2_err_handle: Depends on `negative_impls`, `auto_traits` and `allocator_api`.
#
# # Test crates (not leaked into the binary)
#
# - mocktopus: nightly only dependency.
# - mocktopus_macros: nightly only dependency.
# - docker_tests_main: Depends on `custom_test_frameworks` and `test`.
RUSTC_BOOTSTRAP = "mm2_state_machine,mm2_err_handle,mocktopus,mocktopus_macros,docker_tests_main"

JEMALLOC_SYS_WITH_MALLOC_CONF = "background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,metadata_thp:auto"

[target.'cfg(all())']
rustflags = [ "-Zshare-generics=y", '--cfg=curve25519_dalek_backend="fiat"' ]
rustflags = [ '--cfg=curve25519_dalek_backend="fiat"' ]

# # Install lld using package manager
# [target.x86_64-unknown-linux-gnu]
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.ci-container
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM docker.io/debian:bullseye-slim

MAINTAINER Onur Özkan <[email protected]>
LABEL maintainer="Onur Özkan <[email protected]>"

RUN apt-get update -y

Expand Down
1 change: 0 additions & 1 deletion .docker/Dockerfile.dev-release
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM docker.io/debian:stable-slim
WORKDIR /kdf
COPY target/release/kdf /usr/local/bin/kdf
COPY target/release/mm2 /usr/local/bin/mm2
EXPOSE 7783
CMD ["kdf"]
1 change: 0 additions & 1 deletion .docker/Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM docker.io/debian:stable-slim
WORKDIR /kdf
COPY target/release/kdf /usr/local/bin/kdf
COPY target/release/mm2 /usr/local/bin/mm2
EXPOSE 7783
CMD ["kdf"]
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Toolchain upgrades:
1979c6e3667e78ff53b47aecafb90ca9507d10e2
daf43ebeadf0b8e17f2b76019c6496236f4dd46c
7d51c5a6ab4390e4db8c4510db7012abe6cec8ad
5 changes: 5 additions & 0 deletions .github/actions/build-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ runs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Set up rust-cache
uses: Swatinem/rust-cache@v2
52 changes: 33 additions & 19 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ concurrency:

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
JEMALLOC_SYS_WITH_MALLOC_CONF: "background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,metadata_thp:auto"

jobs:
linux-x86-64:
Expand All @@ -29,8 +28,8 @@ jobs:
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -61,6 +60,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand Down Expand Up @@ -92,8 +92,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add x86_64-apple-darwin
- name: Install build deps
Expand Down Expand Up @@ -131,6 +131,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand All @@ -150,8 +151,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add aarch64-apple-darwin
- name: Install build deps
Expand Down Expand Up @@ -189,6 +190,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand Down Expand Up @@ -253,6 +255,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand All @@ -272,8 +275,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
- name: Install build deps
uses: ./.github/actions/deps-install
Expand Down Expand Up @@ -305,6 +308,12 @@ jobs:
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
# Generate the SHA256 hash for the zip file
Get-FileHash ./$SAFE_DIR_NAME/$NAME -Algorithm SHA256 | Format-Table Hash | Out-File "./$SAFE_DIR_NAME/$NAME.sha256" -Encoding ascii
# Display the SHA256 hash in Actions logs
Get-Content "./$SAFE_DIR_NAME/$NAME.sha256"
- name: Upload build artifact
env:
FILE_SERVER_HOST: ${{ secrets.FILE_SERVER_HOST }}
Expand All @@ -323,8 +332,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add x86_64-apple-darwin
- name: Install build deps
Expand Down Expand Up @@ -357,6 +366,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand Down Expand Up @@ -390,8 +400,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add wasm32-unknown-unknown
- name: Install wasm-pack
Expand Down Expand Up @@ -422,6 +432,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand All @@ -441,8 +452,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add aarch64-apple-ios
- name: Install build deps
Expand Down Expand Up @@ -475,6 +486,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand Down Expand Up @@ -503,8 +515,8 @@ jobs:
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add aarch64-linux-android
- name: Install build deps
Expand Down Expand Up @@ -542,6 +554,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand Down Expand Up @@ -570,8 +583,8 @@ jobs:
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal
rustup default stable
rustup target add armv7-linux-androideabi
- name: Install build deps
Expand Down Expand Up @@ -609,6 +622,7 @@ jobs:
SAFE_DIR_NAME=$(echo "$BRANCH_NAME" | tr '/' '-')
mkdir $SAFE_DIR_NAME
mv $NAME ./$SAFE_DIR_NAME/
shasum -a 256 ./$SAFE_DIR_NAME/$NAME | tee ./$SAFE_DIR_NAME/$NAME.sha256
- name: Upload build artifact
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fmt-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal --component rustfmt,clippy
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal --component rustfmt,clippy
rustup default stable
- name: Install build deps
uses: ./.github/actions/deps-install
Expand All @@ -45,8 +45,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
run: |
rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal --component clippy
rustup default nightly-2023-06-01
rustup toolchain install stable --no-self-update --profile=minimal --component clippy
rustup default stable
rustup target add wasm32-unknown-unknown
- name: Install build deps
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,3 @@ jobs:
echo "PR title is too long (greater than 85 characters)"
exit 1
fi
- name: Check PR labels
env:
LABEL_NAMES: ${{ toJson(github.event.pull_request.labels.*.name) }}
if: "!((contains(env.LABEL_NAMES, 'pending review') && !contains(env.LABEL_NAMES, 'in progress') && !contains(env.LABEL_NAMES, 'blocked'))
|| (!contains(env.LABEL_NAMES, 'pending review') && contains(env.LABEL_NAMES, 'in progress') && !contains(env.LABEL_NAMES, 'blocked'))
|| (!contains(env.LABEL_NAMES, 'pending review') && !contains(env.LABEL_NAMES, 'in progress') && contains(env.LABEL_NAMES, 'blocked')))"
run: |
echo "PR must have "exactly one" of these labels: ['status: pending review', 'status: in progress', 'status: blocked']."
exit 1
28 changes: 28 additions & 0 deletions .github/workflows/pr-review-reminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: PR Review Reminder

on:
schedule:
# Run at 12:00 PM everyday.
- cron: '0 12 * * *'

jobs:
pr-review-reminder:
permissions:
contents: read
pull-requests: write

runs-on: ubuntu-latest
name: PR Review Reminder

steps:
- name: Run PR Review Reminder
uses: thundermiracle/review-reminder-action@224d83b90c76ac597776c79ba1f63539f0bc2795
with:
stale-days: 2
ignore-draft: true
# Don't ping people at weekends.
only-business-days: true
# 2 approvals are enough.
skip-approve-count: 2
token: "${{ secrets.GITHUB_TOKEN }}"
send-reminder-comment: true
Loading
Loading