Skip to content

Commit

Permalink
WIP: split line
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 31, 2024
1 parent 69d56e8 commit 9b5c5ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vault_oidc_ssh_cert_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ def _issue_github_jwt(jwt_aud: str) -> str:
req_url = os.environ["ACTIONS_ID_TOKEN_REQUEST_URL"]
except KeyError as key_error:
title = "GitHub Actions workflow/job permission error"
helper_url = "https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings"
helper_url = "/".join(
[
"https://docs.github.com/en/actions/deployment",
"security-hardening-your-deployments",
"about-security-hardening-with-openid-connect#adding-permissions-settings",
]
)
message = "The `id-token: write` permission appear to be missing."
message += f" See {helper_url} for more info."
_set_error_message(title, message)
Expand Down

0 comments on commit 9b5c5ca

Please sign in to comment.