Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
hhio618 committed Sep 29, 2024
1 parent c4d32f7 commit 2159e3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/permit-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
done
shell: bash
env:
EVM_NETWORK_ID: $${{ secrets.EVM_NETWORK_ID }}
EVM_NETWORK_ID: ${{ secrets.EVM_NETWORK_ID }}
EVM_PRIVATE_KEY: ${{ secrets.EVM_PRIVATE_KEY }}
EVM_TOKEN_ADDRESS: $${{ secrets.EVM_TOKEN_ADDRESS }}
SUPABASE_URL: $${{ secrets.SUPABASE_URL}}
SUPABASE_KEY: $${{ secrets.SUPABASE_KEY }}
GITHUB_TOKEN: $${{ secrets.GITHUB_TOKEN }}
EVM_TOKEN_ADDRESS: ${{ secrets.EVM_TOKEN_ADDRESS }}
SUPABASE_URL: ${{ secrets.SUPABASE_URL}}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USERS_AMOUNTS: ${{ github.event.inputs.users_amounts }}

- name: Report by opening an issue
Expand Down
2 changes: 1 addition & 1 deletion scripts/github-action-permit-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function generatePermitsFromGithubWorkflowDispatch() {
console.log(`Recieved: ${_userAmounts}`);
const userAmounts = JSON.parse(_userAmounts);

console.log(`Recieved env: ${env}`);
throw new Error(`Faulty data: ${env.SUPABASE_URL == "https://uorkbrlsegsfjspkluwj.supabase.co"}`);
// Populate the permitRequests from the user_amounts payload

const permitRequests: PermitRequest[] = userAmounts.flatMap((userObj: { [key: string]: number }) =>
Expand Down

0 comments on commit 2159e3e

Please sign in to comment.