Skip to content

Commit

Permalink
chore(repo): update actions versions and customize typo checking (#16821
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dantaik committed Apr 25, 2024
1 parent 5e914d5 commit 6f07539
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/_typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default.extend-words]
TGE = "TGE"
TKO = "TKO"
Ethereum = "Ethereum"
8 changes: 4 additions & 4 deletions .github/actions/install-pnpm-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
id: pnpm-install
with:
version: 8
Expand All @@ -23,7 +23,7 @@ runs:
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ jobs:

- name: Check for typos
uses: crate-ci/typos@master
with:
config: ${{github.workspace}}/.github/_typos.toml
4 changes: 2 additions & 2 deletions .github/workflows/validate-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
taikoon
supplementary-contracts
requireScope: true
subjectPattern: ^(?![A-Z]).+$ # Require lowercase PR title
subjectPattern: ^(?![A-Z])(?!.*\btypo\b).+$ # Require lowercase PR title and prohibit word "typo"
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
doesn't start with an uppercase character and doesn't contains word "typo".
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ taiko-mono/
β”‚ β”œβ”€β”€ <a href="./packages/guardian-prover-health-check">guardian-prover-health-check</a>: Guardian prover health check service.
β”‚ β”œβ”€β”€ <a href="./packages/guardian-prover-health-check-ui">guardian-prover-health-check-ui</a>: Guardian prover health check UI.
β”‚ β”œβ”€β”€ <a href="./packages/protocol">protocol</a>: Taiko protocol smart contracts.
β”‚ └── <a href="./packages/relayer">relayer</a>: Bridge backend relayer.
β”‚ β”œβ”€β”€ <a href="./packages/relayer">relayer</a>: Bridge backend relayer.
β”‚ β”œβ”€β”€ <a href="./packages/taikoon">taikoon</a>: Taikoon NFT contracts.
β”‚ └── <a href="./packages/supplementary-contracts">supplementary-contracts</a>: Supplementary smart contracts that are not part of the Taiko rollup protocol.
...
</pre>

Expand Down

0 comments on commit 6f07539

Please sign in to comment.