@@ -25,7 +25,8 @@ tag, or opt-in to [use a full Git commit SHA] and Dependabot.
25
25
26
26
### Trusted publishing
27
27
28
- > ** NOTE** : Trusted publishing is sometimes referred to by its
28
+ > [ !NOTE]
29
+ > Trusted publishing is sometimes referred to by its
29
30
> underlying technology -- OpenID Connect, or OIDC for short.
30
31
> If you see references to "OIDC publishing" in the context of PyPI,
31
32
> this is what they're referring to.
@@ -61,10 +62,11 @@ jobs:
61
62
uses : pypa/gh-action-pypi-publish@release/v1
62
63
` ` `
63
64
64
- > **Pro tip**: instead of using branch pointers, like ` unstable/v1`, pin
65
- versions of Actions that you use to tagged versions or sha1 commit identifiers.
66
- This will make your workflows more secure and better reproducible, saving you
67
- from sudden and unpleasant surprises.
65
+ > [!NOTE]
66
+ > Pro tip: instead of using branch pointers, like ` unstable/v1`, pin versions of
67
+ > Actions that you use to tagged versions or sha1 commit identifiers.
68
+ > This will make your workflows more secure and better reproducible, saving you
69
+ > from sudden and unpleasant surprises.
68
70
69
71
Other indices that support trusted publishing can also be used, like TestPyPI :
70
72
@@ -76,7 +78,8 @@ Other indices that support trusted publishing can also be used, like TestPyPI:
76
78
` ` `
77
79
_(don't forget to update the environment name to `testpypi` or similar!)_
78
80
79
- > **Pro tip**: only set the `id-token: write` permission in the job that does
81
+ > [!NOTE]
82
+ > Pro tip: only set the `id-token: write` permission in the job that does
80
83
> publishing, not globally. Also, try to separate building from publishing
81
84
> — this makes sure that any scripts maliciously injected into the build
82
85
> or test environment won't be able to elevate privileges while flying under
@@ -96,7 +99,8 @@ This GitHub Action [has nothing to do with _building package
96
99
distributions_]. Users are responsible for preparing dists for upload
97
100
by putting them into the `dist/` folder prior to running this Action.
98
101
99
- > **IMPORTANT**: Since this GitHub Action is docker-based, it can only
102
+ > [!IMPORTANT]
103
+ > Since this GitHub Action is docker-based, it can only
100
104
> be used from within GNU/Linux based jobs in GitHub Actions CI/CD
101
105
> workflows. This is by design and is unlikely to change due to a number
102
106
> of considerations we rely on.
@@ -187,9 +191,10 @@ default) setting as follows:
187
191
skip-existing: true
188
192
` ` `
189
193
190
- > **Pro tip**: try to avoid enabling this setting where possible. If you
191
- have steps for publishing to both PyPI and TestPyPI, consider only using
192
- it for the latter, having the former fail loudly on duplicates.
194
+ > [!NOTE]
195
+ > Pro tip: try to avoid enabling this setting where possible. If you
196
+ > have steps for publishing to both PyPI and TestPyPI, consider only using
197
+ > it for the latter, having the former fail loudly on duplicates.
193
198
194
199
# ## For Debugging
195
200
0 commit comments