Skip to content

Commit 6275e75

Browse files
authored
New: [AEA-5986] - Publish FAME library (#68)
## Summary - ✨ New Feature ### Details Publish to PyPI in relevant workflows.
1 parent bef89c3 commit 6275e75

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/pull_request.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
pr_title_format_check:
1010
name: PR Title Format Check
1111
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@8404cf6e3a61ac8de4d1644e175e288aa4965815
12+
permissions:
13+
pull-requests: write
1214

1315
get_asdf_version:
1416
name: Get asdf Version
@@ -36,16 +38,22 @@ jobs:
3638
tag_release:
3739
name: Tag Release (Dry Run)
3840
needs: get_asdf_version
39-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@8404cf6e3a61ac8de4d1644e175e288aa4965815
41+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@aac5b797ee198b8bd260d618cf7cbdf723860033
4042
with:
4143
asdfVersion: ${{ needs.get_asdf_version.outputs.version }}
4244
branch_name: ${{ github.event.pull_request.head.ref }}
4345
dry_run: true
46+
pypi_publish: true
47+
secrets:
48+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
4449

4550
dependabot_auto_approve_and_merge:
4651
name: Dependabot Auto Approve and Merge
4752
needs: quality_checks
4853
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@8404cf6e3a61ac8de4d1644e175e288aa4965815
54+
permissions:
55+
contents: write
56+
pull-requests: write
4957
secrets:
5058
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
5159
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
get_next_version:
3131
name: Get Next Version Number for Poetry
32-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@8404cf6e3a61ac8de4d1644e175e288aa4965815
32+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@aac5b797ee198b8bd260d618cf7cbdf723860033
3333
needs: [get_asdf_version, quality_checks]
3434
with:
3535
asdfVersion: ${{ needs.get_asdf_version.outputs.version }}
@@ -70,7 +70,7 @@ jobs:
7070
7171
tag_release:
7272
name: Tag Release
73-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@8404cf6e3a61ac8de4d1644e175e288aa4965815
73+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@aac5b797ee198b8bd260d618cf7cbdf723860033
7474
needs: [build, get_asdf_version]
7575
with:
7676
asdfVersion: ${{ needs.get_asdf_version.outputs.version }}
@@ -80,3 +80,6 @@ jobs:
8080
extra_artifact_run_id: ${{ github.run_id }}
8181
extra_artifact_repository: ${{ github.repository }}
8282
dry_run: false
83+
pypi_publish: true
84+
secrets:
85+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)