Skip to content

Commit 1d42e96

Browse files
authored
chore: add release-assets.githubusercontent.com to allowed sites for harden runner (#337)
1 parent 15be91d commit 1d42e96

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
analyze:
1515
name: Analyze
1616
runs-on: ubuntu-latest
17-
17+
1818
permissions:
1919
actions: read
2020
contents: read
2121
security-events: write
2222

2323
strategy:
2424
fail-fast: false
25-
matrix:
25+
matrix:
2626
# Autobuild each of these seperate maven projects
2727
working-directory: ['invoker', 'functions-framework-api', 'function-maven-plugin']
2828

@@ -37,10 +37,11 @@ jobs:
3737
github.com:443
3838
objects.githubusercontent.com:443
3939
proxy.golang.org:443
40+
release-assets.githubusercontent.com:443
4041
repo.maven.apache.org:443
4142
storage.googleapis.com:443
4243
uploads.github.com:443
43-
44+
4445
- name: Checkout repository
4546
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4647

@@ -57,8 +58,6 @@ jobs:
5758
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5859
# queries: security-extended,security-and-quality
5960

60-
61-
6261
- name: Build
6362
run: |
6463
(cd functions-framework-api/ && mvn install)

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
www.bestpractices.dev:443
4444
*.sigstore.dev:443
4545
*.github.com:443
46-
46+
4747
- name: "Checkout code"
4848
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4949
with:

0 commit comments

Comments
 (0)