Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Updates from upstream #60

Merged
merged 123 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
d4c426a
[ci] Enable zombienet jobs in PRs (#2361)
alvicsam Nov 16, 2023
02e8061
westend: remove SessionKeys migration already applied on-chain (#2363)
acatangiu Nov 16, 2023
5e98803
implementers-guide: update github link (#2368)
ordian Nov 16, 2023
4ac2db8
Fix Typo: `PalletXcmExtrinsicsBenchmark` (#2354)
joepetrowski Nov 16, 2023
596088a
add pallet nomination-pools versioned migration to kitchensink (#2167)
brunopgalvao Nov 17, 2023
b85c64a
fix typo (#2377)
cuteolaf Nov 17, 2023
20723ea
bump zombienet version `v1.3.80` (#2376)
pepoviola Nov 17, 2023
2e001de
[NPoS] Check if staker is exposed in paged exposure storage entries (…
Ank4n Nov 17, 2023
3ab2bc9
Beefy: small fixes (#2378)
serban300 Nov 17, 2023
5007e2d
crypto: `lazy_static` removed, light parser for address URI added (#2…
michalkucharczyk Nov 17, 2023
490fb66
[trivial] asset-hubs runtimes: fix incorrect doc-comments (#2384)
acatangiu Nov 17, 2023
079b14f
Do not panic if the `fdlimit` call to increase the file descriptor li…
nazar-pc Nov 17, 2023
0385902
Relax `force_default_xcm_version` for testnet system parachains (#2385)
bkontur Nov 17, 2023
9e34163
Make collator RPC mode non-experimental (#2381)
skunert Nov 17, 2023
82912ac
Fix migrations and add CI check for new system chains (#2336)
liamaharon Nov 17, 2023
1d1c371
Bump bandersnatch VRF revision (#2389)
davxy Nov 17, 2023
794ee98
Bump secp256k1 from 0.24.3 to 0.28.0 (#2357)
dependabot[bot] Nov 18, 2023
b585893
Preserve artifact cache unless stale (#1918)
eagr Nov 19, 2023
aa5705b
Pools: Add `MaxUnbonding` to metadata (#2397)
Nov 20, 2023
b35300c
Bump docker/build-push-action from 5.0.0 to 5.1.0 (#2404)
dependabot[bot] Nov 20, 2023
ede4a36
remove retry from backers on failed candidate validation (#2182)
jpserrat Nov 20, 2023
126f64a
bump zombienet version `v1.3.82` (#2396)
pepoviola Nov 21, 2023
2fd8c51
`chain-spec-builder`: cleanup (#2174)
michalkucharczyk Nov 21, 2023
0619049
Refactor `ValidationError` (#2406)
eagr Nov 21, 2023
40afc77
Add output positional arg to undying-collator cli (#2375)
pepoviola Nov 21, 2023
552be48
PVF worker: switch on seccomp networking restrictions (#2221)
mrcnski Nov 21, 2023
b25d29a
cumulus-consensus-common: block import: `delayed_best_block` flag add…
michalkucharczyk Nov 21, 2023
b3841b6
Different XCM builders, default one requires fee payment (#2253)
franciscoaguirre Nov 21, 2023
f5ad32e
added action to pass review bot on merge queue (#2414)
Bullrich Nov 21, 2023
50811d6
Update tick collator for async backing (#1497)
Sophia-Gold Nov 21, 2023
2183669
cumulus-test-service: block import fix (#2430)
michalkucharczyk Nov 21, 2023
7a32f4b
Deprecate `RewardDestination::Controller` (#2380)
Nov 22, 2023
a9ba1e5
Revert docker images tag naming to <prnum-shortsha> (#2434)
alvicsam Nov 22, 2023
98f9e2e
Fixes import path in benchmark macro (#2437)
gupnik Nov 22, 2023
408af9b
PVF: Fix unshare "no such file or directory" error (#2426)
mrcnski Nov 22, 2023
0d6dcb3
Make TypeInfo for SkipCheckIfFeeless transparent, too (#2449)
jsdw Nov 22, 2023
0956357
work with additional key values (#1757)
girazoki Nov 22, 2023
4987488
polkadot-node-subsystems: `ChainApiBackend` added + `polkadot-debug` …
michalkucharczyk Nov 22, 2023
ec18933
Remove `#[macro_use]` annotation from `mod service` in all nodes. (#2…
JoshOrndorff Nov 22, 2023
2d09e83
Add `on-chain-release-build` feature for Collectives Westend (#2463)
liamaharon Nov 23, 2023
12062f6
CI: Disable runtime upgrade spec name check on Westend Asset Hub and …
liamaharon Nov 23, 2023
21f1811
sp-api: Move macro related re-exports to `__private` (#2446)
bkchr Nov 23, 2023
19c05e8
Fix trait imports from sp-api (#2472)
andresilva Nov 23, 2023
c29b74d
Amend staking docs to account for state of controller deprecation (#2…
Nov 23, 2023
a00a767
Make publish CI consistant and bump to v0.3.0 (#2453)
Morganamilo Nov 24, 2023
4163152
pallet-xcm: ensure xcm outcome is always complete, revert effects oth…
xlc Nov 24, 2023
f086d54
pallet-staking: Converts all math operations to safe (#2435)
gpestana Nov 24, 2023
e3242d2
Adapt test worker to profile flag (#2450)
eagr Nov 24, 2023
471eafc
Disable any peer connections for parachain nodes in pov-recovery zom…
skunert Nov 24, 2023
7554f53
Remove dmp-queue pallet from Rococo Asset Hub and Bridge Hub (#2483)
liamaharon Nov 24, 2023
891628a
relay-chain-consensus: set a fork_choice (#2462)
michalkucharczyk Nov 24, 2023
803ea76
Improve `UnpinHandleInner` debug (#2485)
bkchr Nov 24, 2023
07ea6da
Derive `MaxEncodedLen` on `SlotDuration` (#2484)
nazar-pc Nov 24, 2023
90488ff
pallet-xcm: fix benchmarking (#2489)
acatangiu Nov 24, 2023
8af61d0
[NPoS] Use EraInfo to manipulate exposure in fast-unstake tests (#2459)
Ank4n Nov 24, 2023
d07186b
Remove `RuntimeApi` dependency on system parachain runtime code (#2455)
seadanda Nov 24, 2023
81638d4
Add missing workspace members (#2491)
ggwpez Nov 24, 2023
63f1210
bump zombienet version `v1.3.83` (#2492)
pepoviola Nov 24, 2023
5e27342
Do not pollute global base path with export genesis/wasm (#2487)
bkchr Nov 24, 2023
ffc64fd
Zombienet: add polkadot-debug image publish as needs for cumulus test…
pepoviola Nov 24, 2023
d5d15a1
polkadot-parachain: one chain-spec for all (#2457)
michalkucharczyk Nov 25, 2023
73ff1c3
Update documentation for SafeMode and TxPause Pallets (#2413)
wilwade Nov 25, 2023
cfa19c3
PVF: remove audit log access (#2461)
mrcnski Nov 25, 2023
4f8048b
New runtime `spec_version` format + backport of the bump to 1.4.0 (#2…
chevdor Nov 27, 2023
dc69dbb
Zombienet tests - disputes on finalized blocks (#2184)
Overkillus Nov 27, 2023
0317501
Decomissioned PR-Custom-Review (#2503)
Bullrich Nov 27, 2023
2610450
Build the standard library crates when building the runtimes (#2217)
koute Nov 27, 2023
4298bc6
asset-hub-westend-integration-tests: add more asset transfers tests (…
acatangiu Nov 27, 2023
fd1ed40
Remove the timestamp handler (#2506)
rcny Nov 27, 2023
838a534
Staking: `chill_other` takes stash instead of controller (#2501)
Nov 27, 2023
db29099
CI: Fix `build-and-attach-release-runtimes.yml` (#2471)
liamaharon Nov 28, 2023
2ac23d2
Fixes cumulus README instructions (#2442)
gpestana Nov 28, 2023
7506271
Pools: Add ability to configure commission claiming permissions (#2474)
Nov 28, 2023
0f7ffc6
Added NetworkId::PolkadotBulletin variant (#2517)
svyatonik Nov 28, 2023
58a1f9c
polkadot: disable block authoring backoff on production networks (#2510)
andresilva Nov 28, 2023
6dc3e6c
Set `frame_system::LastRuntimeUpgrade` after running `try-runtime` mi…
liamaharon Nov 28, 2023
6a417eb
Increase `cargo-check-each-crate-macos` timeout (#2519)
rcny Nov 28, 2023
cd8741c
Moves all test runtimes to use `derive_impl` (#2409)
gupnik Nov 28, 2023
dbd8d20
PVF: Add test instructions (#2058)
mrcnski Nov 28, 2023
f01781a
Remove `wasm-builder`'s README (#2525)
koute Nov 28, 2023
c5f211d
Remove `im-online` pallet from Rococo and Westend (#2265)
s0me0ne-unkn0wn Nov 28, 2023
b0b4451
polkadot: remove grandpa pause support (#2511)
andresilva Nov 28, 2023
ec3a61e
Remove pov-recovery race condition/Improve zombienet test (#2526)
skunert Nov 28, 2023
e71c484
Rework the event system of `sc-network` (#1370)
altonen Nov 28, 2023
aada961
[ci] Run gitspiegel trigger with merge conflicts (#2531)
alvicsam Nov 28, 2023
8201793
Remove long deprecated `AllPalletsWithoutSystemReversed` (#2509)
skunert Nov 28, 2023
a9aa2d1
Remove `dmp_queue` pallet from Westend SP runtimes (#2516)
liamaharon Nov 29, 2023
1d5d4a4
Enable parallel key scraping (#1985)
eagr Nov 29, 2023
39d6c95
substrate-node: `NativeElseWasmExecutor` is no longer used (#2521)
michalkucharczyk Nov 29, 2023
63ac247
Remove system parachains Polkadot and Kusama runtimes (#1737)
seadanda Nov 29, 2023
f2fe6a4
Improve `CodeExecutor` (#2358)
yjhmelody Nov 29, 2023
19f665f
add Rotko common good parachain nodes (#2533)
hitchhooker Nov 29, 2023
8f03570
Bump fs4 from 0.6.6 to 0.7.0 (#1844)
dependabot[bot] Nov 29, 2023
d3d301f
ParachainHost: No need to be generic over the block or hash type (#2537)
bkchr Nov 29, 2023
2858cbc
Adding LuckyFriday's Bootnodes per IBP Application (#2538)
paradox-tt Nov 29, 2023
08f29af
sp-api: Sprinkle some `automatically_derived` attributes
bkchr Nov 29, 2023
eb46b99
Disable trace-level logging from the `test-linux-stable-int` (#2546)
rcny Nov 29, 2023
ecdf343
chainHead: Backport error codes from spec (#2539)
lexnv Nov 29, 2023
c68ce6e
state-db: log_target usage fixed (#2547)
michalkucharczyk Nov 29, 2023
f69069b
Parachain Template: Prune `AuxStore` bound and corresponding crate de…
JoshOrndorff Nov 29, 2023
2135fa8
Contracts: use compiled rust tests (#2347)
pgherveou Nov 29, 2023
e41a0e7
upgraded review bot to 2.3.0 (#2549)
Bullrich Nov 30, 2023
180a6ad
Register metrics for the notification handles (#2562)
altonen Nov 30, 2023
eaf1bc5
Introduce Polkadot-Sdk `developer_hub` (#2102)
kianenigma Nov 30, 2023
64361ac
Withdraw Assets Before Checking Out in `OnReapIdentity` impl (#2552)
joepetrowski Nov 30, 2023
9a650c4
PoV Reclaim (Clawback) Node Side (#1462)
skunert Nov 30, 2023
c30ed6f
Add missing glossary to ref docs (#2572)
juangirini Nov 30, 2023
6742aba
Bump the known_good_semver group with 2 updates (#2570)
dependabot[bot] Nov 30, 2023
1f2ccae
Remove dependency on rand's SliceRandom shuffle implementation in gos…
rphmeier Nov 30, 2023
5213263
Add `recorded_keys` function to get recorded keys from the proof reco…
ParthDesai Dec 1, 2023
4a293bc
Enforce consistent and correct toml formatting (#2518)
liamaharon Dec 1, 2023
dfd7b15
Contracts: make benchmark dependencies optional in `std` feature (#2576)
ascjones Dec 1, 2023
7f0beaf
Bump proc-macro-crate from 1.3.1 to 2.0.0 (#2557)
dependabot[bot] Dec 1, 2023
095f4bd
Sassafras Consensus Pallet (#1577)
davxy Dec 1, 2023
87a73e7
Bump the known_good_semver group with 1 update (#2575)
dependabot[bot] Dec 1, 2023
5789d6a
sassafras: taplo happy (#2583)
michalkucharczyk Dec 1, 2023
ecfdb2b
Bandersnatch: ring-context generic over domain size (#2581)
davxy Dec 1, 2023
f5051c8
Removed instruction to call init.sh when buidling from source (#2580)
jonathanudd Dec 2, 2023
707dbcc
impl guide: update PVF host page; add diagrams (#2579)
mrcnski Dec 4, 2023
35c39c9
Fixes runtime type with doc parsing in derive_impl (#2594)
gupnik Dec 4, 2023
1266de3
Cleanup XCMP `QueueConfigData` (#2142)
serban300 Dec 4, 2023
ae4d24c
Merge branch 'master' into update-snowbridge
Dec 5, 2023
b03a1e7
fix tests
Dec 6, 2023
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
  •  
  •  
  •  
52 changes: 26 additions & 26 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build]
rustdocflags = [
"-Dwarnings",
"-Arustdoc::redundant_explicit_links", # stylistic
"-Dwarnings",
"-Arustdoc::redundant_explicit_links", # stylistic
]

# An auto defined `clippy` feature was introduced,
Expand All @@ -12,30 +12,30 @@ rustdocflags = [
# RUSTFLAGS= cargo clippy
[target.'cfg(feature = "cargo-clippy")']
rustflags = [
"-Aclippy::all",
"-Dclippy::correctness",
"-Aclippy::if-same-then-else",
"-Asuspicious_double_ref_op",
"-Dclippy::complexity",
"-Aclippy::zero-prefixed-literal", # 00_1000_000
"-Aclippy::type_complexity", # raison d'etre
"-Aclippy::nonminimal-bool", # maybe
"-Aclippy::borrowed-box", # Reasonable to fix this one
"-Aclippy::too-many-arguments", # (Turning this on would lead to)
"-Aclippy::unnecessary_cast", # Types may change
"-Aclippy::identity-op", # One case where we do 0 +
"-Aclippy::useless_conversion", # Types may change
"-Aclippy::unit_arg", # styalistic.
"-Aclippy::option-map-unit-fn", # styalistic
"-Aclippy::bind_instead_of_map", # styalistic
"-Aclippy::erasing_op", # E.g. 0 * DOLLARS
"-Aclippy::eq_op", # In tests we test equality.
"-Aclippy::while_immutable_condition", # false positives
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
"-Aclippy::stable_sort_primitive", # prefer stable sort
"-Aclippy::extra-unused-type-parameters", # stylistic
"-Aclippy::default_constructed_unit_structs", # stylistic
"-Aclippy::all",
"-Dclippy::correctness",
"-Aclippy::if-same-then-else",
"-Asuspicious_double_ref_op",
"-Dclippy::complexity",
"-Aclippy::zero-prefixed-literal", # 00_1000_000
"-Aclippy::type_complexity", # raison d'etre
"-Aclippy::nonminimal-bool", # maybe
"-Aclippy::borrowed-box", # Reasonable to fix this one
"-Aclippy::too-many-arguments", # (Turning this on would lead to)
"-Aclippy::unnecessary_cast", # Types may change
"-Aclippy::identity-op", # One case where we do 0 +
"-Aclippy::useless_conversion", # Types may change
"-Aclippy::unit_arg", # styalistic.
"-Aclippy::option-map-unit-fn", # styalistic
"-Aclippy::bind_instead_of_map", # styalistic
"-Aclippy::erasing_op", # E.g. 0 * DOLLARS
"-Aclippy::eq_op", # In tests we test equality.
"-Aclippy::while_immutable_condition", # false positives
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
"-Aclippy::stable_sort_primitive", # prefer stable sort
"-Aclippy::extra-unused-type-parameters", # stylistic
"-Aclippy::default_constructed_unit_structs", # stylistic
]

[env]
Expand Down
56 changes: 28 additions & 28 deletions .config/lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@ accept = [
200,

# Rate limited - GitHub likes to throw this.
429
429,
]

exclude_path = [ "./target" ]
exclude_path = ["./target"]

exclude = [
# Place holders (no need to fix these):
"http://visitme/",
"https://visitme/",
# TODO <https://github.com/paritytech/polkadot-sdk/issues/134>
"https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs",
"https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html",
"https://github.com/ipfs/js-ipfs-bitswap/blob/",
"https://github.com/paritytech/polkadot-sdk/substrate/frame/timestamp",
"https://github.com/paritytech/substrate/frame/fast-unstake",
"https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs",
"https://polkadot.network/the-path-of-a-parachain-block/",
"https://research.web3.foundation/en/latest/polkadot/BABE/Babe/#6-practical-results",
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html",
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html#-6.-practical-results",
"https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology",
"https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/slashing/npos.html",
"https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model",
"https://rpc.polkadot.io/",
"https://w3f.github.io/parachain-implementers-guide/node/approval/approval-distribution.html",
"https://w3f.github.io/parachain-implementers-guide/node/index.html",
"https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html",
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html",
# Place holders (no need to fix these):
"http://visitme/",
"https://visitme/",

# TODO <https://github.com/paritytech/polkadot-sdk/issues/134>
"https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs",
"https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html",
"https://github.com/ipfs/js-ipfs-bitswap/blob/",
"https://github.com/paritytech/polkadot-sdk/substrate/frame/timestamp",
"https://github.com/paritytech/substrate/frame/fast-unstake",
"https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs",
"https://polkadot.network/the-path-of-a-parachain-block/",
"https://research.web3.foundation/en/latest/polkadot/BABE/Babe/#6-practical-results",
"https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html",
"https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html",
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html#-6.-practical-results",
"https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/slashing/npos.html",
"https://rpc.polkadot.io/",
"https://w3f.github.io/parachain-implementers-guide/node/approval/approval-distribution.html",
"https://w3f.github.io/parachain-implementers-guide/node/index.html",
"https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html",
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html",
]
33 changes: 33 additions & 0 deletions .config/taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html

# ignore zombienet as they do some deliberate custom toml stuff
exclude = [
"cumulus/zombienet/**",
"polkadot/node/malus/integrationtests/**",
"polkadot/zombienet_tests/**",
"substrate/zombienet/**",
]

# global rules
[formatting]
reorder_arrays = true
inline_table_expand = false
array_auto_expand = false
array_auto_collapse = false
indent_string = " " # tab

# don't re-order order-dependent deb package metadata
[[rule]]
include = ["polkadot/Cargo.toml"]
keys = ["package.metadata.deb"]

[rule.formatting]
reorder_arrays = false

# don't re-order order-dependent rustflags
[[rule]]
include = [".cargo/config.toml"]
keys = ["build", "target.'cfg(feature = \"cargo-clippy\")'"]

[rule.formatting]
reorder_arrays = false
5 changes: 1 addition & 4 deletions .config/zepter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,15 @@ workflows:
'--left-side-outside-workspace=ignore',
# Some features imply that they activate a specific dependency as non-optional. Otherwise the default behaviour with a `?` is used.
'--feature-enables-dep=try-runtime:frame-try-runtime,runtime-benchmarks:frame-benchmarking',
# Actually modify the files and not just report the issues:
# Auxillary flags:
'--offline',
'--locked',
'--show-path',
'--quiet',
]
# Format the features into canonical format:
- ['format', 'features', '--offline', '--locked', '--quiet']
# Same as `check`, but with the `--fix` flag.
default:
- [ $check.0, '--fix' ]
- [ $check.1, '--fix' ]

# Will be displayed when any workflow fails:
help:
Expand Down
63 changes: 0 additions & 63 deletions .github/pr-custom-review.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/review-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rules:
- ^\.config/nextest.toml
- ^\.cargo/.*
exclude:
- ^./gitlab/pipeline/zombienet.*
- ^\.gitlab/pipeline/zombienet.*
minApprovals: 2
type: basic
teams:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/build-and-attach-release-runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Attach Runtimes to Releases/RC
on:
release:
types:
- created
- published

env:
PROFILE: production
Expand Down Expand Up @@ -44,12 +44,6 @@ jobs:
runtime_dir: ${{ matrix.runtime.path }}
profile: ${{ env.PROFILE }}

- name: Build Summary
run: |
echo "${{ steps.srtool_build.outputs.json }}" | jq . > ${{ matrix.runtime.name }}-srtool-digest.json
cat ${{ matrix.runtime.name }}-srtool-digest.json
echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}"

- name: Set up paths and runtime names
id: setup
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/check-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ on:

jobs:
check-publish:
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

Expand All @@ -23,7 +20,7 @@ jobs:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish --profile dev
run: cargo install parity-publish@0.3.0

- name: parity-publish check
run: parity-publish check --allow-unpublished
2 changes: 1 addition & 1 deletion .github/workflows/claim-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.2.0
run: cargo install parity-publish@0.3.0

- name: parity-publish claim
env:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/gitspiegel-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,19 @@ on:
- unlocked
- ready_for_review
- reopened
# the job doesn't check out any code, so it is relatively safe to run it on any event
pull_request_target:
types:
- opened
- synchronize
- unlocked
- ready_for_review
- reopened
merge_group:

# drop all permissions for GITHUB_TOKEN
permissions: {}

jobs:
sync:
runs-on: ubuntu-latest
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/merge-queue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Merge-Queue

on:
merge_group:

jobs:
trigger-merge-queue-action:
runs-on: ubuntu-latest
environment: master
steps:
- name: Generate token
id: app_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.REVIEW_APP_ID }}
private_key: ${{ secrets.REVIEW_APP_KEY }}
- name: Add Merge Queue status check
uses: billyjbryant/create-status-check@3e6fa0ac599d10d9588cf9516ca4330ef669b858 # v2
with:
authToken: ${{ steps.app_token.outputs.token }}
context: 'review-bot'
description: 'PRs for merge queue gets approved'
state: 'success'
sha: ${{ github.event.merge_group.head_commit.id }}
Loading
Loading