Skip to content

Commit

Permalink
Merge pull request #84 from daneshk/main
Browse files Browse the repository at this point in the history
Add env to fix the TOOMANYREQUESTS issues
  • Loading branch information
daneshk authored Oct 30, 2024
2 parents 4a0afbb + deedbfd commit acf3344
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Create lib directory if not exists
run: mkdir -p ballerina/lib
- name: Run Trivy vulnerability scanner
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
Expand Down
8 changes: 2 additions & 6 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
]
modules = [
{org = "ballerina", packageName = "io", moduleName = "io"}
]

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -400,7 +397,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "java.jdbc"
version = "1.12.0"
version = "1.12.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand Down Expand Up @@ -467,7 +464,6 @@ org = "ballerinax"
name = "persist.sql"
version = "1.4.1"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "log"},
{org = "ballerina", name = "persist"},
Expand All @@ -491,7 +487,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "postgresql"
version = "1.13.0"
version = "1.13.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand Down

0 comments on commit acf3344

Please sign in to comment.