Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e933c25

Browse filesBrowse files
authored
Update main.yml
1 parent 9fd19e6 commit e933c25
Copy full SHA for e933c25

File tree

Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-4
lines changed
Open diff view settings
Collapse file

‎.github/workflows/main.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+6-4Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ jobs:
1414
env:
1515
SCAN_PATH: "." # Set the relative path in the repo to scan
1616

17-
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
1817
defaults:
1918
run:
2019
shell: bash
2120

2221
steps:
23-
# Checkout the repository to the GitHub Actions runner
2422
- name: Check out repository
2523
uses: actions/checkout@v2
2624

@@ -42,12 +40,17 @@ jobs:
4240
env:
4341
SCAN_PATH: "." # Set the relative path in the repo to scan
4442

45-
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
4643
defaults:
4744
run:
4845
shell: bash
4946

5047
steps:
48+
- name: Check out repository
49+
uses: actions/checkout@v2
50+
51+
- name: Download Wiz CLI
52+
run: curl -o wizcli https://downloads.wiz.io/wizcli/latest/wizcli-linux-amd64 && chmod +x wizcli
53+
5154
- name: Authenticate to Wiz
5255
run: ./wizcli auth --id "$WIZ_CLIENT_ID" --secret "$WIZ_CLIENT_SECRET"
5356
env:
@@ -56,4 +59,3 @@ jobs:
5659

5760
- name: Run wiz CLI Dir scan
5861
run: ./wizcli dir scan --path $SCAN_PATH
59-

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.