Skip to content

Commit

Permalink
Updated contents write access
Browse files Browse the repository at this point in the history
  • Loading branch information
rudsberg committed Dec 2, 2024
1 parent dbd5a6b commit 7f1b3a1
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 @@ -420,7 +420,7 @@ jobs:
name: test 'native-image-enable-sbom' option
runs-on: macos-latest # TODO: use matrix vlaue
permissions:
contents: read
contents: write
pull-requests: write
# TODO: use appropriate matrix
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/features/sbom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,6 @@ async function submitDependencySnapshot(snapshotData: DependencySnapshot): Promi
})
core.info('Dependency snapshot submitted successfully.')
} catch (error) {
core.warning(`Failed to submit dependency snapshot: ${error instanceof Error ? error.message : String(error)}`)
core.warning(`Failed to submit dependency snapshot for SBOM: ${error instanceof Error ? error.message : String(error)}`)
}
}

0 comments on commit 7f1b3a1

Please sign in to comment.