Skip to content

Commit

Permalink
feat: create github action to wait for discovery to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkor committed Dec 18, 2024
1 parent cb3d3d3 commit 0bbdd61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ jobs:
discovery_id: ${{ steps.discovery.outputs.id }}
project_id: ${{ vars.PROJECT_ID }}
hostname: ${{ vars.HOSTNAME }}
timeout: 300 # in general cases we'll have a timeout and it is good for this test
timeout: 360 # in general cases we'll have a timeout and it is good for this test

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ _Example:_ `api_token: ${{ secrets.BRIGHTSEC_TOKEN }}`

_Example:_ `discovery_id: ${{ steps.start.outputs.id }}`

### `project_id`

**Required**. Provide project-id for the discovery.

_Example:_ `project_id: ${{ vars.PROJECT_ID }}`

### `timeout`

**Required**. Time for polling in seconds.
Expand Down

0 comments on commit 0bbdd61

Please sign in to comment.