Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ jobs:
exit 1
fi

# GitHub masks each line of a multi-line secret, and a masked `{` drops every JSON job output.
if [[ "${CODEX_AUTH_JSON%$'\n'}" == *$'\n'* ]]; then
echo "::error::CODEX_AUTH_JSON spans multiple lines. Store it with 'jq -c . auth.json | gh secret set CODEX_AUTH_JSON'."
exit 1
fi

jq -c . "$HOME/.codex/auth.json" > "$RUNNER_TEMP/auth-before.json"

- name: Collect issue
Expand Down
Loading