Skip to content

Commit a8aecb4

Browse files
authored
[#patch] fix for private repos (#301)
1 parent 4868aa2 commit a8aecb4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/go-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
allowed-endpoints: >
7878
api.github.com:443
7979
github.com:443
80+
go.dev:443
8081
objects.githubusercontent.com:443
8182
proxy.golang.org:443
8283
release-assets.githubusercontent.com:443
@@ -113,6 +114,7 @@ jobs:
113114
allowed-endpoints: >
114115
api.github.com:443
115116
github.com:443
117+
go.dev:443
116118
objects.githubusercontent.com:443
117119
proxy.golang.org:443
118120
release-assets.githubusercontent.com:443

.github/workflows/sast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 0
3131
persist-credentials: false
3232
- name: 'Dependency Review'
33-
if: github.event_name == 'pull_request'
33+
if: github.event_name == 'pull_request' && inputs.upload-sarif
3434
uses: actions/dependency-review-action@05fe4576374b728f0c523d6a13d64c25081e0803 # v4.8.3
3535
with:
3636
fail-on-severity: moderate

0 commit comments

Comments
 (0)