We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0ec73 commit f028745Copy full SHA for f028745
1 file changed
.github/actions/cpflow-setup-environment/action.yml
@@ -96,6 +96,12 @@ runs:
96
exit 1
97
fi
98
99
+ # Keep the service-account token available to later cpflow/cpln steps.
100
+ # The profile stores org/default metadata, but cpflow direct API calls
101
+ # read CPLN_TOKEN before falling back to `cpln profile token`.
102
+ echo "::add-mask::${CPLN_TOKEN}"
103
+ printf 'CPLN_TOKEN=%s\n' "${CPLN_TOKEN}" >> "${GITHUB_ENV}"
104
+
105
# `cpln profile update` lists `create` as an alias (cpln profile --help) and is
106
# idempotent: it creates the profile if missing and updates it otherwise. Calling
107
# update directly avoids parsing the CLI's "already exists" English error text,
0 commit comments