Skip to content

Commit 0d77f1a

Browse files
Fix CHANGELOG.md and improve CI (#92)
* Update CHANGELOG.md * Additional change to CHANGELOG + improvement in CI * Add permissions to workflow to solve security vulnerabilities
1 parent 2ef4c94 commit 0d77f1a

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/python.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
schedule:
2020
- cron: "0 14 * * 0" # Every Sunday, 2 hours after midday
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
integration-tests:
2427
runs-on: ubuntu-latest
@@ -56,7 +59,8 @@ jobs:
5659
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude onfido
5760
- name: Test with pytest
5861
if: ${{ matrix.python-version == '3.13' &&
59-
github.repository_owner == 'onfido' }}
62+
github.repository_owner == 'onfido' &&
63+
(github.event_name == 'pull_request' || github.event_name == 'release') }}
6064
run: |
6165
poetry run pytest --show-capture=no
6266
env:
@@ -71,6 +75,8 @@ jobs:
7175
runs-on: ubuntu-latest
7276
needs: integration-tests
7377
environment: delivery
78+
permissions:
79+
contents: write
7480
if: github.event_name == 'release'
7581
steps:
7682
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
- Release based on Onfido OpenAPI spec version [v5.4.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v5.4.0):
66
- [ENT-26] Add AES document download endpoint
7+
- Fix dependabot error, add support for python 3.13 (and drop 3.8)
8+
- [ENT-26] Add AES documents test
79

810
## v5.3.0 11th July 2025
911

10-
- Release based on Onfido OpenAPI spec version [v5.3.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v5.3.0):
1112
- Release based on Onfido OpenAPI spec version [v5.3.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v5.3.0):
1213
- [DEXTV2-9494] Add manual_transmission_restriction to document with driver verification report
1314

0 commit comments

Comments
 (0)