Skip to content

Commit 30dea0d

Browse files
Merge branch 'main' into qa
2 parents 5b66f07 + 7aca508 commit 30dea0d

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

.github/workflows/deploy-production.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
release:
55
types: [ released ]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
check_production_tag:
913
name: Check if the release is tagged as production
@@ -26,10 +30,10 @@ jobs:
2630
runs-on: ubuntu-latest
2731
steps:
2832
- name: Checkout repo
29-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3034

3135
- name: Set up Python 3.9
32-
uses: actions/setup-python@v4
36+
uses: actions/setup-python@v5
3337
with:
3438
python-version: '3.9'
3539
cache: 'pip'
@@ -52,6 +56,4 @@ jobs:
5256
.
5357
5458
- name: Publish distribution package to PyPI
55-
uses: pypa/gh-action-pypi-publish@release/v1
56-
with:
57-
password: ${{ secrets.PYPI_API_TOKEN }}
59+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/deploy-qa.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
release:
55
types: [ released ]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
check_qa_tag:
913
name: Check if the release is tagged as QA
@@ -26,10 +30,10 @@ jobs:
2630
runs-on: ubuntu-latest
2731
steps:
2832
- name: Checkout repo
29-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3034

3135
- name: Set up Python 3.9
32-
uses: actions/setup-python@v4
36+
uses: actions/setup-python@v5
3337
with:
3438
python-version: '3.9'
3539
cache: 'pip'
@@ -54,5 +58,4 @@ jobs:
5458
- name: Publish distribution package to Test PyPI
5559
uses: pypa/gh-action-pypi-publish@release/v1
5660
with:
57-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
58-
repository_url: https://test.pypi.org/legacy/
61+
repository-url: https://test.pypi.org/legacy/

.github/workflows/run-unit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: Run Python unit tests
22

3-
on:
3+
on:
44
pull_request:
5-
actions: [ opened ]
5+
types: [ labeled, unlabeled, opened, reopened, synchronize ]
66

77
jobs:
88
changelog:
99
name: Updates changelog
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- uses: dangoslen/changelog-enforcer@v3
1414
test:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repo
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Python 3.9
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: '3.9'
2424
cache: 'pip'

0 commit comments

Comments
 (0)