Skip to content

Commit f15da48

Browse files
committed
Revert "♻️ Extract the process in the release system about upload Python package by OIDC authentication as a parameter of reusable workflow." because GitHub Action limit
This reverts commit cc26cad.
1 parent cc26cad commit f15da48

File tree

6 files changed

+3
-21
lines changed

6 files changed

+3
-21
lines changed

.github/workflows/release-staging.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_release_staging_complete.yaml@master
3131
with:
3232
level: ${{ inputs.level }}
33-
python-package-workflow: './.github/workflows/rw_python_package.yaml'
3433
secrets:
3534
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3635
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/release-validate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ jobs:
7373
python: ${{ inputs.python }}
7474
docker: ${{ inputs.docker }}
7575
docs: ${{ inputs.docs }}
76-
python-package-workflow: './.github/workflows/rw_python_package.yaml'
7776

7877
# Summary job to report results
7978
validation-summary:

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ jobs:
6868
docker: ${{ inputs.docker }}
6969
docs: ${{ inputs.docs }}
7070
notes: ${{ inputs.notes }}
71-
python-package-workflow: './.github/workflows/rw_python_package.yaml'
7271
secrets:
7372
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
7473
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/rw_release_complete.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ on:
3030
required: false
3131
default: ''
3232
type: string
33-
python-package-workflow:
34-
description: 'Path to Python package workflow (for OIDC authentication in child project)'
35-
required: false
36-
default: './.github/workflows/rw_python_package.yaml'
37-
type: string
3833
secrets:
3934
DOCKERHUB_USERNAME:
4035
description: 'Docker Hub username'
@@ -362,7 +357,7 @@ jobs:
362357
github_auth_token: ${{ secrets.GITHUB_TOKEN }}
363358

364359
release_python:
365-
uses: ${{ inputs.python-package-workflow }}
360+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_python_package.yaml@master
366361
needs: [config, intent, bump_version, build_git-tag_and_create_github-release]
367362
if: needs.intent.outputs.do_release == 'true' && needs.intent.outputs.python != 'skip'
368363
with:

.github/workflows/rw_release_staging_complete.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ on:
1010
required: false
1111
default: 'patch'
1212
type: string
13-
python-package-workflow:
14-
description: 'Path to Python package workflow (for OIDC authentication in child project)'
15-
required: false
16-
default: './.github/workflows/rw_python_package.yaml'
17-
type: string
1813
secrets:
1914
DOCKERHUB_USERNAME:
2015
description: 'Docker Hub username'
@@ -105,7 +100,7 @@ jobs:
105100
github_auth_token: ${{ secrets.GITHUB_TOKEN }}
106101

107102
pypi-test:
108-
uses: ${{ inputs.python-package-workflow }}
103+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_python_package.yaml@master
109104
needs: [config, compute-version, build_git-tag_and_create_github-release]
110105
with:
111106
operation: 'publish-testpypi'

.github/workflows/rw_release_validation_complete.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ on:
2525
required: false
2626
default: 'auto'
2727
type: string
28-
python-package-workflow:
29-
description: 'Path to Python package workflow (for OIDC authentication in child project)'
30-
required: false
31-
default: './.github/workflows/rw_python_package.yaml'
32-
type: string
3328
outputs:
3429
validation_passed:
3530
description: 'Whether all validation checks passed'
@@ -81,7 +76,7 @@ jobs:
8176
github_auth_token: ${{ secrets.GITHUB_TOKEN }}
8277

8378
python-build-check:
84-
uses: ${{ inputs.python-package-workflow }}
79+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_python_package.yaml@master
8580
needs: [config, build_git-tag_and_create_github-release]
8681
with:
8782
operation: 'test'

0 commit comments

Comments
 (0)