Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
6b6f705
chore: snaps
tmm Apr 20, 2025
799ee4d
feat: stabilize EIP-5792 (#4638)
jxom Apr 23, 2025
47ac81c
chore: version packages (#4617)
github-actions[bot] Apr 23, 2025
edd28c0
docs: remove warning
jxom Apr 23, 2025
66dec7d
Use Sourcify v2 API in sourcify plugin (#4629)
allezxandre Apr 24, 2025
20e2edd
chore(cli): tweaks
tmm Apr 24, 2025
c85a9e5
test: tweaks
tmm Apr 28, 2025
81cbebf
chore: snaps
tmm Apr 28, 2025
236a260
chore: version packages (#4645)
github-actions[bot] Apr 28, 2025
cc5517f
feat: update ethereum provider to 2.20.0 (#4644)
lukaisailovic Apr 29, 2025
f6964b2
chore: version packages (#4646)
github-actions[bot] Apr 29, 2025
01f64e6
fix: add `chainId` to `getCapabilities` (#4649)
jxom May 2, 2025
022365a
chore: version packages (#4650)
github-actions[bot] May 2, 2025
43241c8
chore(cli): bump deps (#4655)
tmm May 6, 2025
d3938a5
ci: drop old ts versions
tmm May 6, 2025
48cee07
chore: version packages (#4656)
github-actions[bot] May 8, 2025
0737010
fix: `waitForCallsStatus` propagation
jxom May 13, 2025
a75307e
fix: resolves #4665
jxom May 13, 2025
29297a4
chore: changeset
jxom May 13, 2025
c372712
tests: up viem
jxom May 13, 2025
72e6a7b
docs: update WalletConnect link in react connect-wallet guide (#4663)
codersjj May 13, 2025
60cd777
docs: update react getting-started.md (#4662)
codersjj May 13, 2025
f2ddc0c
chore: version packages (#4666)
github-actions[bot] May 14, 2025
42b1fed
chore(connectors): updated `@walletconnect/ethereum-provider` to `2.2…
ganchoradkov May 16, 2025
f5b717c
chore: version packages (#4676)
github-actions[bot] May 18, 2025
3a90f35
chore: updates @walletconnect/ethereum-provider to version 2.21.1 (#4…
tomiir Jun 3, 2025
08a3a28
chore: up snaps
jxom Jun 4, 2025
b687181
chore: version packages (#4698)
github-actions[bot] Jun 4, 2025
7ce242b
chore: bump coinbase/wallet-sdk to 4.3.3 (#4700)
jade-u410 Jun 5, 2025
36136a0
chore: version packages (#4702)
github-actions[bot] Jun 6, 2025
b9dc942
fix(docs): update broken multicall link to current Viem documentation…
VolodymyrBg Jun 24, 2025
910e6c6
fix: prevent timeout memory leak in fetch plugin (#4727)
reallesee Jul 13, 2025
e75bd89
chore: update @coinbase/wallet-sdk to version 4.3.6 (#4731)
tomiir Jul 16, 2025
d271520
chore: up viem
jxom Jul 16, 2025
24f5289
chore: lockfile
jxom Jul 16, 2025
151c377
chore: format
jxom Jul 16, 2025
cceac52
tests: up viem
jxom Jul 16, 2025
323de99
tests: up types
jxom Jul 16, 2025
868ddf8
chore: version packages (#4732)
github-actions[bot] Jul 16, 2025
eac550a
feat: add `baseAccount` connector (#4734)
jxom Jul 18, 2025
953013f
chore: up changeset
jxom Jul 19, 2025
07fa7cb
chore: version packages (#4736)
github-actions[bot] Jul 19, 2025
6fbafd4
feat: up `@base-org/account`
jxom Jul 29, 2025
edd084b
feat: upgrade vitest, biome (#4740)
tmm Jul 30, 2025
08c68d3
ci: tune gh action permissions (#4749)
tmm Jul 30, 2025
5e9c643
docs: up contributing
tmm Jul 30, 2025
6c53467
chore: spelling
tmm Jul 31, 2025
79942b2
fix: tanstack query link (#4703)
sasicodes Jul 31, 2025
89e4566
Update sendCalls.md (#4677)
mezger75 Jul 31, 2025
c498667
fix: type error for wc/reown project id (#4673)
imaksp Jul 31, 2025
ec892d1
Update `writeContracts` and `sendCalls` return types and meaning (#4683)
agsola Jul 31, 2025
751db3d
docs: Improve useReadContracts page with return type and Tanstack Que…
fsolla Jul 31, 2025
6514ba2
fix: add missing `from` address to the `sendCalls` handler in mock co…
iceanddust Jul 31, 2025
c519f9c
docs: fix broken links
tmm Jul 31, 2025
2d657dd
ci: action tweaks
tmm Jul 31, 2025
3545cb0
chore: version packages (#4746)
github-actions[bot] Jul 31, 2025
e97836b
ci: tweak permissions
tmm Aug 4, 2025
8f7ad2c
chore: `typescript@5.9.2`
jxom Aug 7, 2025
aec8a61
feat(cli): routescan plugin (#4757)
tmm Aug 8, 2025
81c1e3e
chore: tweaks
tmm Aug 8, 2025
b5f017d
Use getAction for sendCalls & getCallsStatus (#4756)
plusminushalf Aug 8, 2025
949a012
ci: fix
tmm Aug 8, 2025
1a2653f
chore: version packages (#4758)
github-actions[bot] Aug 8, 2025
909324d
feat: add Horizon connector (#4759)
mikelxc Aug 11, 2025
e0c2cb7
chore: snaps
tmm Aug 11, 2025
dade2f3
chore: version packages (#4762)
github-actions[bot] Aug 11, 2025
f403941
doc: add gemini docs (#4764)
mikelxc Aug 14, 2025
878ab9c
chore: tweaks
tmm Aug 17, 2025
1edb09f
feat(cli): add testnets to routescan
tmm Aug 18, 2025
5863c4f
chore: version packages (#4766)
github-actions[bot] Aug 18, 2025
b459856
chore: add sponsor
tmm Aug 19, 2025
23bad76
feat: add nuxt 4 support for wagmi nuxt module (#4737)
microHoffman Aug 19, 2025
b076508
chore: version packages (#4767)
github-actions[bot] Aug 19, 2025
a13aa2b
feat(core) add internal revalidate function (#4770)
tmm Aug 22, 2025
218f4a5
chore: version packages (#4771)
github-actions[bot] Aug 24, 2025
3fd46ff
chore: v3 todo comment
tmm Aug 24, 2025
d4c367c
fix: codegen actions/hooks respect `syncConnectedChain` (#4773)
tmm Aug 26, 2025
bcdea68
chore: version packages (#4774)
github-actions[bot] Aug 26, 2025
986b964
fix: update chainId check in getConnectorClient (#4733)
effie-ms Aug 26, 2025
b961b46
chore: version packages (#4775)
github-actions[bot] Aug 26, 2025
9c5bd05
chore: snaps
tmm Aug 26, 2025
a03da81
switch chain on connect in walletconnect connector (#4691)
frolic Aug 26, 2025
307a9e2
chore: version packages (#4776)
github-actions[bot] Aug 26, 2025
ce06e13
fix(deepEqual): support objects with null prototypes (#4752)
iamakulov Aug 29, 2025
d260637
chore: version packages (#4777)
github-actions[bot] Aug 29, 2025
4cdb67b
chore(deps): bump actions/checkout from 4 to 5 (#4778)
dependabot[bot] Sep 1, 2025
6f69052
chore(docs): remove .html extension from viem links (#4785)
itasli Sep 16, 2025
8736133
feat: expose connect capabilities (#4784)
tmm Sep 17, 2025
8c9046a
chore: version packages (#4786)
github-actions[bot] Sep 17, 2025
9b37b85
chore: npm trusted publisher
tmm Sep 18, 2025
5937456
chore: bump mm sdk
tmm Sep 18, 2025
2d67c70
chore: version packages (#4790)
github-actions[bot] Sep 19, 2025
72b703a
fix: getConnectors previous result comparison (#4792)
cartcrom Sep 22, 2025
331db72
chore: version packages (#4793)
github-actions[bot] Sep 22, 2025
8e1726e
chore: up biome
jxom Sep 24, 2025
6321b43
chore: revert biome optional chain autofix
jxom Sep 24, 2025
f05c075
feat: add `porto` connector (#4794)
jxom Sep 24, 2025
6816cd0
chore: format
jxom Sep 24, 2025
8603419
chore: pnpm age exclude
jxom Sep 24, 2025
8fad70f
feat: export `porto` from `porto/wagmi` (#4798)
jxom Sep 24, 2025
d00c11c
chore: format
jxom Sep 24, 2025
7d15f06
tests: fix
jxom Sep 24, 2025
a49442a
chore: version packages (#4799)
github-actions[bot] Sep 24, 2025
9a00e42
refactor: pull `porto` implementation (#4801)
jxom Sep 25, 2025
41eb70e
chore: up `porto` version
jxom Sep 25, 2025
f7a6cdf
chore: version packages (#4803)
github-actions[bot] Sep 25, 2025
e26c032
fix: add `assertChainId` parameter in `getConnectorClient` (#4804)
jxom Sep 25, 2025
866aeb0
chore: changeset
jxom Sep 25, 2025
2f0db95
fix: add `chainId` param back onto `getProvider` (#4806)
jxom Sep 25, 2025
91aa1d9
chore: version packages (#4805)
github-actions[bot] Sep 25, 2025
f40b75e
ci: add scorecard
jxom Sep 25, 2025
2d57d73
ci: run `pnpm audit` (#4807)
jxom Sep 25, 2025
d549628
fix: type
jxom Sep 25, 2025
dfbdfd8
chore: add openssf badge
jxom Sep 25, 2025
9651e18
chore: newline readme
jxom Sep 25, 2025
49a775c
docs: correct hook name useShowCalls -> useSendCalls (#4810)
2wheeh Sep 27, 2025
b584f6e
docs: add llms.txt (#4808)
tmm Sep 29, 2025
d417b0f
docs: add titles
tmm Sep 29, 2025
6745a8f
chore: version packages (#4814)
github-actions[bot] Sep 29, 2025
cf0ec33
docs: up
tmm Sep 29, 2025
2019511
ci: tweaks
tmm Oct 1, 2025
a9e6ca5
ci: pin versions
tmm Oct 1, 2025
0c47a77
chore: scripts fs.glob
tmm Oct 4, 2025
4a2a6d0
Fix directory name from 'connector' to 'connectors' (#4820)
lucemans Oct 6, 2025
3e6efa8
ci: bump versions with actions up
tmm Oct 7, 2025
9fc6162
chore: `viem@2.38.0` + up fork block number (#4825)
jxom Oct 9, 2025
ebb2352
feat: `*Sync` hooks + actions (#4823)
jxom Oct 9, 2025
6159db8
chore: version packages (#4826)
github-actions[bot] Oct 9, 2025
785d16b
docs: fix contributing page
tmm Oct 13, 2025
a67ea1f
feat(cli): update block explorer plugin chains (#4830)
tmm Oct 13, 2025
55d2a47
chore: bump happy-dom
tmm Oct 13, 2025
74100b0
fix(core): adds `account` to internal `call` in `waitForTransactionRe…
tmm Oct 13, 2025
4c47207
chore: version packages (#4831)
github-actions[bot] Oct 14, 2025
ae31a8d
feat(connectors): get porto instance (#4837)
tmm Oct 21, 2025
64ac0f9
chore: audit
tmm Oct 21, 2025
87e7806
ci: bump playwright
tmm Oct 21, 2025
e7a620c
chore: version packages (#4838)
github-actions[bot] Oct 21, 2025
ed2d473
chore(cli): bump chains
tmm Oct 23, 2025
f5ecf76
chore: audit
tmm Oct 23, 2025
ff865b9
chore: version packages (#4841)
github-actions[bot] Oct 23, 2025
3e634b7
feat(react,vue): export internal types
tmm Oct 27, 2025
990dd23
chore: bump porto version
tmm Oct 27, 2025
2b48652
chore: knip
tmm Oct 27, 2025
dfe775a
chore: version packages (#4842)
github-actions[bot] Oct 27, 2025
faf3eed
chore: up connector deps (#4843)
tmm Oct 28, 2025
8c35b7a
chore: version packages (#4844)
github-actions[bot] Oct 28, 2025
65cf154
feat(connectors): walletConnect warning
tmm Oct 31, 2025
1f4bab9
chore: tmp skip
tmm Oct 31, 2025
b229a19
chore: version packages (#4847)
github-actions[bot] Oct 31, 2025
bf6d806
docs: Correct useBlockNumber example in migration docs (#4853)
2wheeh Nov 4, 2025
2ddb506
chore(connectors): bump gemini version
tmm Nov 10, 2025
588fd38
chore: version packages (#4865)
github-actions[bot] Nov 10, 2025
e2a7067
feat(docs): add useSimulateContract + useWriteContract example (#4854)
DeVikingMark Nov 11, 2025
5a60f3d
docs: fix typo, correct viem references for eip-5792 actions (#4859)
2wheeh Nov 11, 2025
86db944
Adds boolean flag to react plugin to control per-function hook genera…
fassko Nov 11, 2025
8f049aa
chore: version packages (#4868)
github-actions[bot] Nov 11, 2025
794fceb
docs: broken links
tmm Nov 13, 2025
76a43dd
refactor: update `chainId` computation for `useReadContracts` to redu…
tmm Nov 13, 2025
4d48aa5
chore: version packages (#4873)
github-actions[bot] Nov 13, 2025
fe526cc
chore: typo (#4874)
menuRivera Nov 14, 2025
5388de5
feat: support withCapabilities in base account connector (#4877)
stephancill Nov 19, 2025
f585eed
chore: audit
tmm Nov 19, 2025
32db494
chore: version packages (#4880)
github-actions[bot] Nov 19, 2025
73e7326
v3 - refactor(connectors)!: move to peer dependencies (#4857)
tmm Nov 19, 2025
8751554
chore: version packages (#4881)
github-actions[bot] Nov 19, 2025
0112d33
chore(create-wagmi): bump wagmi version
tmm Nov 19, 2025
7c89be9
chore: version packages (#4883)
github-actions[bot] Nov 19, 2025
856548a
fix: `baseAccount` reconnect behavior (#4884)
tmm Nov 20, 2025
1245dac
chore: version packages (#4885)
github-actions[bot] Nov 20, 2025
f0024da
ci: pkg-pr-new tweaks
tmm Nov 20, 2025
d717d86
fix: #4887
tmm Nov 20, 2025
490b301
chore: version packages (#4888)
github-actions[bot] Nov 20, 2025
793e3ff
chore: version packages (#4889)
github-actions[bot] Nov 20, 2025
0e0076b
chore: align playground deps
tmm Nov 20, 2025
0a46561
fix: parse and return sub accounts in `baseAccount` connection respon…
stephancill Nov 26, 2025
7e58fe1
chore: version packages (#4892)
github-actions[bot] Nov 26, 2025
d7b132e
refactor(react,vue): rename mutate functions to mutate/mutateAsync (#…
tmm Dec 3, 2025
763d370
chore: version packages (#4895)
github-actions[bot] Dec 3, 2025
683e24c
dev: attest (#4902)
tmm Dec 15, 2025
a08c71d
feat: abi parameter named tuples (#4896)
tmm Dec 16, 2025
d7510f9
chore: exclude abitype min version
tmm Dec 16, 2025
127afa6
chore: tweaks
tmm Dec 16, 2025
def2749
chore: rename test setup
tmm Dec 16, 2025
8b74e9e
chore: clear changeset
tmm Dec 16, 2025
29f95df
chore: workspace config
tmm Dec 16, 2025
058c8c1
fix(core,react): fix read contract return type inference for overloads
tmm Dec 22, 2025
ab2a819
chore: version packages (#4910)
github-actions[bot] Dec 23, 2025
1590710
fix: vite-react template (#4900)
stephancill Dec 23, 2025
c947fed
chore: version packages (#4913)
github-actions[bot] Dec 23, 2025
9bbf13e
fix(connectors): webpack dynamic import optional peer dep (#4911)
tmm Dec 23, 2025
7761de1
chore: version packages (#4914)
github-actions[bot] Dec 23, 2025
16f8e7b
chore: bump viem (#4912)
tmm Dec 23, 2025
ed86500
fix: publish exports
jxom Dec 25, 2025
c6a73fd
chore: version packages (#4918)
github-actions[bot] Dec 25, 2025
a5c4381
fix: config.connectors type inference (#4923)
tmm Dec 31, 2025
0167da7
ci: rm unnecessary command
tmm Dec 31, 2025
f72beff
chore: version packages (#4924)
github-actions[bot] Dec 31, 2025
14989e4
feat: tempo (#4922)
tmm Jan 6, 2026
e0cdfbd
chore: version packages (#4933)
github-actions[bot] Jan 6, 2026
86765a9
docs: add /tempo redirect
tmm Jan 6, 2026
2ee3f55
refactor(tempo): update actions/hooks (#4940)
tmm Jan 9, 2026
e135372
refactor: rename actions/hooks dir (#4941)
tmm Jan 9, 2026
5e4ef9d
test: up flakes
tmm Jan 9, 2026
3fd0d64
chore: bump vitest
tmm Jan 9, 2026
e0f4f38
test: bump
tmm Jan 9, 2026
34b5938
chore: version packages (#4944)
github-actions[bot] Jan 9, 2026
a373b50
fix(tempo): `webAuthn` connector tx preparation (#4939)
jxom Jan 10, 2026
befb190
chore: version packages (#4945)
github-actions[bot] Jan 10, 2026
c337819
refactor: improve query options (#4937)
tmm Jan 10, 2026
4fefa57
chore: changeset
tmm Jan 10, 2026
3ae2d17
chore: version packages (#4946)
github-actions[bot] Jan 12, 2026
3a2e7bb
feat: Tanstack Start SSR example (#4925)
o-az Jan 13, 2026
9e0fe80
chore: check
tmm Jan 13, 2026
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: 10 additions & 8 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "wevm/wagmi" }
],
"commit": false,
"access": "public",
"fixed": [],
"linked": [],
"baseBranch": "main",
"changelog": ["@changesets/changelog-github", { "repo": "wevm/wagmi" }],
"commit": false,
"updateInternalDependencies": "minor",
"ignore": [
"*-register",
"@wagmi/test",
"site",
"next-app",
"nuxt-app",
"vite-*"
],
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
]
}
5 changes: 0 additions & 5 deletions .changeset/cool-masks-hang.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-houses-relate.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@tmm @jxom

/packages/connectors/src/gemini @mikelxc
/packages/connectors/src/metaMask @ecp4224 @omridan159 @abretonc7s @elefantel @BjornGunnarsson @EdouardBougon
/packages/connectors/src/safe @DaniSomoza @dasanra @mikhailxyz @yagopv
/packages/connectors/src/walletConnect @ganchoradkov @glitch-txs @ignaciosantise @tomiir
19 changes: 19 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@
<img src="https://img.shields.io/npm/v/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="Version">
</picture>
</a>
<a href="https://scorecard.dev/viewer/?uri=github.com/ossf/scorecard">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/ossf-scorecard/github.com/wevm/wagmi?label=openssf+scorecard&style=flat&color=21262d&labelColor=21262d">
<img src="https://img.shields.io/ossf-scorecard/github.com/wevm/wagmi?label=openssf+scorecard&style=flat&color=f6f8fa&labelColor=f6f8fa" alt="OpenSSF Best Practices">
</picture>
</a>
<a href="https://www.bestpractices.dev/en/projects/11233">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/openssf_best_practices-passing-21262d?labelColor=21262d">
<img src="https://img.shields.io/badge/openssf_best_practices-passing-f6f8fa?labelColor=f6f8fa" alt="OpenSSF Best Practices">
</picture>
</a>
<br />
<a href="https://github.com/wevm/wagmi/blob/main/LICENSE">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/wagmi?colorA=21262d&colorB=21262d">
Expand Down Expand Up @@ -239,6 +252,12 @@ If you find Wagmi useful or use it for work, please consider [sponsoring Wagmi](
<img alt="sequence logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sequence-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://gemini.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/gemini-dark.svg">
<img alt="gemini logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/gemini-light.svg" width="auto" height="50">
</picture>
</a>
</p>

[Sponsor Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support_bottom)
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Changesets
on:
push:
branches: [main]
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -10,31 +12,37 @@ concurrency:
jobs:
verify:
name: Verify
permissions:
contents: write
uses: ./.github/workflows/verify.yml
secrets: inherit

changesets:
name: Publish
needs: verify
# prevents this action from running on forks
if: github.repository == 'wevm/wagmi'
permissions:
contents: write
id-token: write
pull-requests: write
contents: write # to create release (changesets/action)
id-token: write # OpenID Connect token needed for provenance
pull-requests: write # to create pull request (changesets/action)
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Clone repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5

- name: PR or publish
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
with:
title: 'chore: version packages'
commit: 'chore: version packages'
Expand All @@ -43,18 +51,14 @@ jobs:
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish prerelease
- name: Publish canary release
if: steps.changesets.outputs.published != 'true'
continue-on-error: true
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN"
git reset --hard origin/main
pnpm clean
pnpm changeset version --no-git-tag --snapshot canary
pnpm changeset:prepublish
pnpm changeset publish --no-git-tag --snapshot canary --tag canary
4 changes: 3 additions & 1 deletion .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Issue Labeled
permissions:
issues: write

on:
issues:
Expand All @@ -7,7 +9,7 @@ on:
jobs:
issue-labeled:
if: ${{ github.repository_owner == 'wevm' }}
uses: wevm/actions/.github/workflows/issue-labeled.yml@main
uses: wevm/actions/.github/workflows/issue-labeled.yml@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
needs-reproduction-body: |
Hello @${{ github.event.issue.user.login }}.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lock-issue.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Lock Issue
permissions:
issues: write

on:
schedule:
Expand All @@ -7,7 +9,7 @@ on:
jobs:
lock-issue:
if: ${{ github.repository_owner == 'wevm' }}
uses: wevm/actions/.github/workflows/lock-issue.yml@main
uses: wevm/actions/.github/workflows/lock-issue.yml@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
issue-comment: |
This issue has been locked since it has been closed for more than 14 days.
Expand Down
40 changes: 37 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Pull Request
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -10,23 +12,55 @@ concurrency:
jobs:
verify:
name: Verify
permissions:
contents: write
uses: ./.github/workflows/verify.yml
secrets: inherit

publish:
name: Publish preview release
# prevents this action from running on forks
if: github.repository == 'wevm/wagmi'
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8

- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5

- name: Publish to pkg.pr.new
run: |
pnpm changeset:prepublish
pnpx pkg-pr-new publish --pnpm --compact './packages/*'
env:
PKG_PR_NEW: true

size:
name: Size
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Clone repository
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8

- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main
uses: wevm/actions/.github/actions/pnpm@f7ad7f00e16e73322562922c241f21f0c7ffbbec
with:
node-version: 24.5

- name: Report build size
uses: preactjs/compressed-size-action@v2
uses: preactjs/compressed-size-action@946a292cd35bd1088e0d7eb92b69d1a8d5b5d76a
with:
pattern: 'packages/**/dist/**'
repo-token: ${{ secrets.GITHUB_TOKEN }}
51 changes: 51 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Scorecard
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '22 13 * * 0'
push:
branches: [ "main" ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: SARIF file
path: results.sarif
retention-days: 5

- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@80cb6b56b93de3e779c7d476d9100d06fb87c877 # codeql-bundle-v2.23.2
with:
sarif_file: results.sarif
32 changes: 0 additions & 32 deletions .github/workflows/snapshot.yml

This file was deleted.

Loading