Skip to content

Commit 1202a07

Browse files
authored
feat: avoid api endpoint mandatory requirement (#2)
1 parent 3e33dac commit 1202a07

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/test-upload-file.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414
jobs:
1515
test-upload-file:
1616
runs-on: ubuntu-latest
17-
1817
steps:
1918
- name: Checkout repository
2019
uses: actions/checkout@v4
@@ -32,5 +31,4 @@ jobs:
3231
uses: ./upload-file
3332
with:
3433
file_path: test-upload.json
35-
security_agent_api_endpoint: ${{ secrets.SECURITY_AGENT_API_ENDPOINT }}
3634
security_agent_api_key: ${{ secrets.SECURITY_AGENT_API_KEY }}

upload-file/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ inputs:
1111
description: "Path to the file to upload"
1212
required: true
1313
destination:
14-
description: "Destination path or URL for the upload"
14+
description: "Destination path in security agent storage bucket"
1515
required: false
1616
security_agent_api_endpoint:
1717
description: "Security Agent API endpoint"
18-
required: true
18+
required: false
19+
default: https://security-agent.ddn.pro.hasura.io/graphql
1920
security_agent_api_key:
2021
description: "Security Agent API key"
2122
required: true

0 commit comments

Comments
 (0)