diff --git a/pat_helper.py b/pat_helper.py index fe89493..9a0c2b0 100644 --- a/pat_helper.py +++ b/pat_helper.py @@ -204,8 +204,8 @@ def revoke_pat(): def print_outputs(): - username_encoded = urllib.parse.quote(USERNAME) - pat_encoded = urllib.parse.quote(PAT) + username_encoded = urllib.parse.quote(USERNAME, safe='') + pat_encoded = urllib.parse.quote(PAT, safe='') print(f"::add-mask::{PAT}") # mark the PAT as secret in GitHub Actions logs print(f"::add-mask::{pat_encoded}") # mark the PAT as secret in GitHub Actions logs print(f"::set-output name=username::{USERNAME}")