Skip to content

Commit bf37f6e

Browse files
committed
Add comments to clarify the OIDC workflow
1 parent de61562 commit bf37f6e

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/build-ddev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,11 @@ jobs:
604604
path: installers
605605
merge-multiple: true
606606

607+
# Publish wheels to PyPI using Trusted Publishers.
608+
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
609+
# This job needs to run from within the pypi-ddev environment. PyPi validates the
610+
# workflow file name, environment and repository the request is comming from to
611+
# provide the valid JWT token.
607612
- name: Push Python artifacts to PyPI
608613
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
609614
with:

.github/workflows/release-base.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
- name: Build base package
3939
run: ddev release build datadog_checks_base
4040

41+
# Publish wheels to PyPI using Trusted Publishers.
42+
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
43+
# This job needs to run from within the pypi-datadog-checks-base environment. PyPi
44+
# validates the workflow file name, environment and repository the request is
45+
# comming from to provide the valid JWT token.
4146
- name: Release base package to PyPI
4247
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
4348
with:

.github/workflows/release-dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
- name: Build dev package
3939
run: ddev release build datadog_checks_dev
4040

41+
# Publish wheels to PyPI using Trusted Publishers.
42+
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
43+
# This job needs to run from within the pypi-datadog-checks-dev environment. PyPi
44+
# validates the workflow file name, environment and repository the request is
45+
# comming from to provide the valid JWT token.
4146
- name: Release dev package to PyPI
4247
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
4348
with:

0 commit comments

Comments
 (0)