Skip to content

Commit

Permalink
Upgrade to eipw 0.9 (ethereum#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn authored Oct 13, 2024
1 parent 3173a48 commit 6493b55
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Checkout EIP Repository
uses: actions/checkout@47fbe2df0ad0e27efb67a70beac3555f192b062f

- uses: ethereum/eipw-action@6785fa283773db4819cb0abf17a185a1d9b6eb9f
- uses: ethereum/eipw-action@be3fa642ec311d0b8e1fdb811e5c9b4ada3d3d93
id: eipw
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
15 changes: 12 additions & 3 deletions config/eipw.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
kind = "set-default-annotation"
name = "status"
value = "Stagnant"
annotation_type = "warning"
annotation_level = "warning"

[[modifiers]]
kind = "set-default-annotation"
name = "status"
value = "Withdrawn"
annotation_type = "warning"
annotation_level = "warning"

[lints.markdown-re-eip-dash]
kind = "markdown-regex"
Expand Down Expand Up @@ -115,6 +115,7 @@ names = [
# "Final",
# "Withdrawn",
# "Living",
# "Moved",
# ],
# ]

Expand Down Expand Up @@ -145,6 +146,8 @@ exceptions = [
'^https://(www\.)?github\.com/ethereum/yellowpaper/commit/[a-f0-9]{40}$',
'^https://(www\.)?github\.com/ethereum/devp2p/(blob|tree)/[0-9a-f]{40}/.+$',
'^https://(www\.)?github\.com/ethereum/devp2p/commit/[0-9a-f]{40}$',
'^https://(www\.)?github\.com/ethereum/portal-network-specs/(blob|tree)/[0-9a-f]{40}/.+$',
'^https://(www\.)?github\.com/ethereum/portal-network-specs/commit/[0-9a-f]{40}$',
'^https://(www\.)?github\.com/bitcoin/bips/(blob|tree)/[0-9a-f]{40}/bip-[0-9]+\.mediawiki$',
'^https://(www\.)?github\.com/ChainAgnostic/CAIPs/(blob|tree)/[a-f0-9]{40}/.+$',
'^https://(www\.)?github\.com/ChainAgnostic/CAIPs/commit/[0-9a-f]{40}$',
Expand Down Expand Up @@ -794,6 +797,7 @@ flow = [
"Final",
"Withdrawn",
"Living",
"Moved",
],
]

Expand Down Expand Up @@ -842,7 +846,7 @@ min = 1

[lints.markdown-link-first]
kind = "markdown-link-first"
pattern = "(?i)(?:eip|erc)-[0-9]+"
pattern = "(?i)(?:eip|erc)-([0-9])+"

[lints.markdown-re-erc-dash]
kind = "markdown-regex"
Expand Down Expand Up @@ -925,4 +929,9 @@ name = "eip"
prefix = "erc-"
suffix = ".md"

[lints.markdown-no-backticks]
kind = "markdown-no-backticks"
pattern = "(?i)(eip|erc)-[0-9]+"

[lints.markdown-headings-space]
kind = "markdown-headings-space"

0 comments on commit 6493b55

Please sign in to comment.