Skip to content

Commit

Permalink
ci: do not check PSL freshness when releasing master branch
Browse files Browse the repository at this point in the history
Remove the verification logic that ensures the master branch has the
up-to-date PSL when releasing a new version.

It seems the PSL publishing point is distributing different versions of
the PSL for hours. This causes the automation logic to fail randomly. We
cannot rely on its consistency.

In the prior release github actions get:
last-modified: Fri, 21 Jun 2024 13:05:36 GMT
https://github.com/ko-zu/psl/actions/runs/9616800387/job/26527141543

Fetching the same address from a devel machine:
last-modified: Wed, 19 Jun 2024 11:00:02 GMT

Signed-off-by: ko-zu <[email protected]>
  • Loading branch information
ko-zu committed Jun 21, 2024
1 parent 94eee60 commit c35b563
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ jobs:
run: |
pip install --progress-bar off -r requirements-dev.txt
pip install .
python -m publicsuffixlist.update
if ! git diff --exit-code publicsuffixlist/public_suffix_list.dat ; then
# PSL not updated
echo "PSL file is not up to date. Abort."
exit 1
fi
if ! python -m publicsuffixlist.test ; then
echo "Test failed. Abort."
Expand Down

0 comments on commit c35b563

Please sign in to comment.