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 4e9bde8 commit cb3d3d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
discovery_types: |
[ "crawler" ]
crawler_urls: |
[ "https://security-crawl-maze.app/html/" ]
[ "https://security-crawl-maze.app/html/body/form" ]
hosts_filter: |
[ ]
- name: Wait for discovery to finish ⏳
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ asyncPoll(
data: state.status
};

const terminalStates = ['failed', 'disrupted', 'stopped', 'done'];
const terminalStates = ['failed', 'stopped', 'complete'];

return {
done: terminalStates.includes(state.status),
Expand Down

0 comments on commit cb3d3d3

Please sign in to comment.