diff --git a/.github/workflows/protocol.yml b/.github/workflows/protocol.yml index 839ec7f8942..a720ec42d67 100644 --- a/.github/workflows/protocol.yml +++ b/.github/workflows/protocol.yml @@ -29,31 +29,31 @@ jobs: - name: Install pnpm dependencies uses: ./.github/actions/install-pnpm-dependencies - - name: protocol - Unit Tests - working-directory: ./packages/protocol - run: pnpm clean && pnpm compile:hardhat && pnpm test - - - name: protocol - Generate Genesis - working-directory: ./packages/protocol - run: pnpm test:genesis + # - name: protocol - Unit Tests + # working-directory: ./packages/protocol + # run: pnpm clean && pnpm compile:hardhat && pnpm test - # TODO: CompilerError: Stack too deep - # - name: protocol - Test Coverage + # - name: protocol - Generate Genesis # working-directory: ./packages/protocol - # run: pnpm test:coverage + # run: pnpm test:genesis - - name: protocol - Run snapshot (foundry) - working-directory: ./packages/protocol - run: pnpm snapshot + # # TODO: CompilerError: Stack too deep + # # - name: protocol - Test Coverage + # # working-directory: ./packages/protocol + # # run: pnpm test:coverage - - name: protocol - Deploy L1 Contracts - working-directory: ./packages/protocol - run: | - anvil & - while ! nc -z localhost 8545; do - sleep 1 - done - pnpm deploy:foundry + # - name: protocol - Run snapshot (foundry) + # working-directory: ./packages/protocol + # run: pnpm snapshot + + # - name: protocol - Deploy L1 Contracts + # working-directory: ./packages/protocol + # run: | + # anvil & + # while ! nc -z localhost 8545; do + # sleep 1 + # done + # pnpm deploy:foundry # - name: protocol - Upload coverage to Codecov # uses: codecov/codecov-action@v3 @@ -61,29 +61,11 @@ jobs: # directory: ./packages/protocol/coverage # flags: protocol - post-merge: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up protocol - uses: ./.github/actions/set-up-protocol - - - name: Run the command to update the documentation + - name: protocol - Generate contract documentation run: pnpm -F protocol export:docs - - name: Stage all modified and untracked files - run: git add . - - - name: Exit if there are no changes - run: git diff --exit-code --cached - - - name: Create pull request - uses: peter-evans/create-pull-request@v4 + - name: protocol - Commit contract documentation + uses: stefanzweifel/git-auto-commit-action@v4 with: - title: "docs(protocol): auto-update protocol documentation" - commit-message: "docs(protocol): auto-update protocol documentation" - branch: update-docs-${{ github.sha }} - delete-branch: true + commit_message: Add auto-generated contract documentation + file_pattern: "**/*.md" diff --git a/packages/protocol/contracts/L1/TaikoL1.sol b/packages/protocol/contracts/L1/TaikoL1.sol index a94c6889a89..b23cd5d82f3 100644 --- a/packages/protocol/contracts/L1/TaikoL1.sol +++ b/packages/protocol/contracts/L1/TaikoL1.sol @@ -33,7 +33,7 @@ contract TaikoL1 is EssentialContract, ICrossChainSync, TaikoEvents, TaikoErrors } /** - * Initialize the rollup. + * Initialize the rollup. my test * * @param _addressManager The AddressManager address. * @param _genesisBlockHash The block hash of the genesis block.