File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 17
17
18
18
{message}
19
19
20
+ You're seeing this because the action wasn't given the inputs needed to
21
+ perform password-based or token-based authentication. If you intended to
22
+ perform one of those authentication methods instead of trusted
23
+ publishing, then you should double-check your secret configuration and variable
24
+ names.
25
+
20
26
Read more about trusted publishers at https://docs.pypi.org/trusted-publishers/
21
27
"""
22
28
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ if [[ "${INPUT_USER}" == "__token__" && -z "${INPUT_PASSWORD}" ]] ; then
46
46
echo \
47
47
' ::notice::Attempting to perform OIDC credential exchange' \
48
48
' to retrieve a temporary short-lived API token for authentication' \
49
- " against ${INPUT_REPOSITORY_URL} "
49
+ " against ${INPUT_REPOSITORY_URL} due to __token__ username with no" \
50
+ ' supplied password field'
50
51
INPUT_PASSWORD=" $( python /app/oidc-exchange.py) "
51
52
elif [[ " ${INPUT_USER} " == ' __token__' ]]; then
52
53
echo \
You can’t perform that action at this time.
0 commit comments