Skip to content

Commit

Permalink
Merge branch 'master' into Pandapip1-backward-compatibility-eip1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandapip1 committed Nov 12, 2022
2 parents e49d57b + 92a425d commit 710e6b7
Show file tree
Hide file tree
Showing 166 changed files with 10,147 additions and 3,369 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto-label-bot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
on:
pull_request_target:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

name: Auto Label Bot
jobs:
jekyll-label-action:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/auto-review-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types:
- completed

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

name: Auto Review Bot
jobs:
auto-review-bot:
Expand Down Expand Up @@ -40,7 +44,7 @@ jobs:
GITHUB-TOKEN: ${{ secrets.TOKEN }}
PR_NUMBER: ${{ steps.save-pr-number.outputs.pr }}
CORE_EDITORS: '@lightclient,@axic,@gcolvin,@SamWilsn,@Pandapip1'
ERC_EDITORS: '@lightclient,@axic,@SamWilsn,@Pandapip1'
ERC_EDITORS: '@axic,@SamWilsn,@Pandapip1'
NETWORKING_EDITORS: '@lightclient,@axic,@SamWilsn'
INTERFACE_EDITORS: '@lightclient,@axic,@SamWilsn,@Pandapip1'
META_EDITORS: '@lightclient,@axic,@gcolvin,@SamWilsn,@Pandapip1'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/auto-review-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
types:
- created

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

name: Auto Review Bot Trigger
jobs:
trigger:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-stagnate-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
name: Auto Stagnant Bot
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
- name: Setup Node.js Environment
uses: actions/setup-node@v2
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: '14'
- name: auto-stagnant-bot
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-rerun-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Trigger
steps:
- name: Trigger
uses: actions/github-script@v6
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0
if: github.event.issue.pull_request && contains(github.event.comment.body, '@eth-bot rerun')
with:
script: |
Expand Down
54 changes: 46 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- ready_for_review
- edited

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
save-pr:
name: Save PR Number
Expand All @@ -27,7 +31,7 @@ jobs:
echo $MERGE_SHA > ./pr/merge_sha
- name: Upload PR Number
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: pr_number
path: pr/
Expand All @@ -39,7 +43,7 @@ jobs:
steps:
- name: Checkout EIP Repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- name: Install OpenSSL
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev

Expand Down Expand Up @@ -67,17 +71,25 @@ jobs:
steps:
- name: Checkout EIP Repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- name: Delete Unchanged Files
uses: Pandapip1/delete-unchanged-files@2c27069573bbeb6703790ac5c872e9b1a100d96c

- name: Get Changed Files
id: changed
continue-on-error: true
run: |
echo "CHANGED_FILES<<EOF" >> $GITHUB_ENV
gh pr diff ${{ github.event.number }} --name-only | sed -e 's|$|,|' | xargs -i echo "{}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run CodeSpell
uses: codespell-project/actions-codespell@2391250ab05295bddd51e36a8c6295edb6343b0e
if: steps.changed.outcome == 'success'
with:
check_filenames: true
ignore_words_file: config/.codespell-whitelist
path: ${{ env.CHANGED_FILES }}
skip: .git,Gemfile.lock,**/*.png,**/*.gif,**/*.jpg,**/*.svg,.codespell-whitelist,vendor,_site,_config.yml,style.css
only_warn: 1

eipw-validator:
name: EIP Walidator
Expand All @@ -87,8 +99,34 @@ jobs:
- name: Checkout EIP Repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- uses: ethereum/eipw-action@dist
- uses: ethereum/eipw-action@3b4a2599d62433ef0c99766ab9836b0accf80edd
id: eipw
with:
token: ${{ secrets.GITHUB_TOKEN }}
unchecked: 1, 5069
unchecked: 1, 5069, 5757

markdownlint:
name: Markdown Linter
runs-on: ubuntu-latest
steps:
- name: Checkout EIP Repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- name: Get Changed Files
id: changed
continue-on-error: true
run: |
echo "CHANGED_FILES<<EOF" >> $GITHUB_ENV
gh pr diff ${{ github.event.number }} --name-only | grep -E -x '[^/]+\.md|EIPS/eip-[0-9]+\.md' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint
uses: DavidAnson/markdownlint-cli2-action@16d9da45919c958a8d1ddccb4bd7028e8848e4f1
if: steps.changed.outcome == 'success'
with:
command: config
globs: |
config/.markdownlint.yaml
${{ env.CHANGED_FILES }}
4 changes: 3 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
close-issue-message: This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback.
days-before-issue-stale: 7
days-before-issue-close: 49 # 49 + 7 weeks = 3 months
exempt-issue-labels: discussions-to
exempt-issue-labels: discussions-to, e-consensus
stale-issue-label: w-stale
# PR config
stale-pr-message: There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.
close-pr-message: This pull request was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment.
days-before-pr-stale: 14
days-before-pr-close: 42 # 42 + 14 weeks = 3 months
exempt-pr-labels: e-review, e-consensus
exempt-pr-milestones: "Manual Merge Queue"
stale-pr-label: w-stale
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ vendor

# Editor files
.gitpod.yml
.DS_Store

# Secrets
.vercel
Loading

0 comments on commit 710e6b7

Please sign in to comment.