Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add comment #149

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/test-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,29 @@ on:
push:
branches:
- main
pull_request:
pull_request_target:
types: [opened, synchronize, edited]
branches:
- main

jobs:
access_check:
runs-on: ubuntu-latest
steps:
- name: Check user permissions
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.author_association != 'MEMBER' }}
run: |
echo "Action was not triggered by an organization member. Exiting now."
exit 1

cypress-run:
runs-on: ubuntu-latest
needs: access_check
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Cypress run
uses: cypress-io/github-action@v6
Expand All @@ -25,4 +38,3 @@ jobs:
env:
NEXT_PUBLIC_HEIMDALL_URL: "${{ secrets.HEIMDALL_URL }}"
CYPRESS_HEIMDALL_URL: "${{ secrets.HEIMDALL_URL }}"

2 changes: 2 additions & 0 deletions packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import { useAbiNinjaState } from "~~/services/store/store";
import { parseAndCorrectJSON } from "~~/utils/abi";
import { notification } from "~~/utils/scaffold-eth";

// console.log("Hello world");

enum TabName {
verifiedContract,
addressAbi,
Expand Down
Loading