Skip to content

Commit 19d701b

Browse files
committed
chmod on MacOs install
1 parent def5d7e commit 19d701b

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/cd-download-grype-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
#
9999
# can add custom runner images per https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images on large self-hosted runners
100100

101-
name: CD Grype Scan for Downloadable Packages (downloads.chef.io)
101+
name: CD grype for downloads.chef.io
102102

103103
on:
104104
workflow_dispatch:

.github/workflows/cd-omnitruck-package-grype-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
#
100100
# can add custom runner images per https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images on large self-hosted runners
101101

102-
name: CD Grype Scan for Downloadable Packages (Omnitruck or package-router)
102+
name: CD grype for Omnitruck or package-router
103103

104104
on:
105105
workflow_dispatch:

.github/workflows/cd-public-builder-grype-scan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#
5454
# can add custom runner images per https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images on large self-hosted runners
5555

56-
name: CD Grype Scan for public Habitat Packages (bldr.habitat.sh)
56+
name: CD grype for public Habitat Packages (bldr.habitat.sh)
5757

5858
on:
5959
workflow_dispatch:
@@ -190,6 +190,7 @@ jobs:
190190
echo "HAB_LICENSE=accept-no-persist" >> $GITHUB_ENV
191191
192192
# Create the necessary directory structure for license file
193+
sudo chmod -R 777 /hab
193194
sudo mkdir -p /hab/accepted-licenses/
194195
sudo touch /hab/accepted-licenses/habitat
195196
@@ -324,6 +325,7 @@ jobs:
324325
run: |
325326
# Find the installed package path. 'hab pkg path' returns the path to the latest installed version.
326327
$PkgPath = hab pkg path ${{ inputs.hab_package }}
328+
Write-Host "Package Path: $PkgPath"
327329
# run grype in runner
328330
grype dir:$PkgPath --name ${{ inputs.hab_package }}
329331
# run grype to output to file (which is uploaded to the job as an artifact)

0 commit comments

Comments
 (0)