Skip to content

Commit f723b0d

Browse files
Workflow does not contain permissions
Adds workflow permissions to SBOM job. Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 67aea39 commit f723b0d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-pywry.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ jobs:
443443
name: Generate release SBOM
444444
needs: [test]
445445
if: ${{ !cancelled() && (needs.test.result == 'success' || needs.test.result == 'skipped') }}
446+
permissions:
447+
contents: read
446448
uses: ./.github/workflows/sbom.yml
447449

448450
# =============================================================================

0 commit comments

Comments
 (0)