Skip to content

Commit

Permalink
Tweak HubSpot regex to match optional regional hosts, plus upgrade si…
Browse files Browse the repository at this point in the history
…gstore
  • Loading branch information
marcwickenden committed Oct 7, 2023
1 parent fca76f6 commit 28ccf1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: push
jobs:
tests:
uses: ./.github/workflows/tests.yaml

build:
name: Build distribution
needs: [tests]
Expand Down Expand Up @@ -70,7 +71,7 @@ jobs:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3
uses: sigstore/gh-action-sigstore-python@v2.1.0
with:
inputs: >-
./dist/*.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion sricheck/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.7.1"
__version__ = "1.7.2"
2 changes: 1 addition & 1 deletion sricheck/sricheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, url):
self.allowlisted_hosts = [
"fonts\.googleapis\.com", # does not use versioning so can't realistically use SRI
"fonts\.gstatic\.com", # does not use versioning so can't realistically use SRI
"js\.hs-scripts\.com", # does not use versioning so can't realistically use SRI
"js-?[a-z0-9]*\.hs-scripts\.com", # does not use versioning so can't realistically use SRI
"www\.googletagmanager\.com", # does not use versioning so can't realistically use SRI
]

Expand Down

0 comments on commit 28ccf1b

Please sign in to comment.