diff --git a/.github/actions/cmx-versions/index.js b/.github/actions/cmx-versions/index.js index 5e511baf58..c7367e292e 100644 --- a/.github/actions/cmx-versions/index.js +++ b/.github/actions/cmx-versions/index.js @@ -4,8 +4,9 @@ var semver = require('semver'); async function getClusterVersions() { const url = 'https://api.replicated.com/vendor/v3/cluster/versions'; + const apiToken = core.getInput('replicated-api-token') || process.env.REPLICATED_API_TOKEN; const headers = { - Authorization: process.env.C11Y_MATRIX_TOKEN + Authorization: apiToken }; let clusterVersions = [];