def _get_common_action_env_variables(self):
        """
        Retrieve common ST2_ACTION_ environment variables which will be available to the action.

        Note: Environment variables are prefixed with ST2_ACTION_* so they don't clash with CLI
        environment variables.

        :rtype: ``dict``
        """
        result = {}
        result["ST2_ACTION_PACK_NAME"] = self.get_pack_ref()
        result["ST2_ACTION_EXECUTION_ID"] = str(self.execution_id)
        result["ST2_ACTION_API_URL"] = get_full_public_api_url()
        result["ST2_ACTION_DEBUG"] = str(self._debug)

        if self.auth_token:
            result["ST2_ACTION_AUTH_TOKEN"] = self.auth_token.token

        return result

        Retrieve common ST2_ACTION_ environment variables which will be available to the action.

        Note: Environment variables are prefixed with ST2_ACTION_* so they don't clash with CLI
        environment variables.

        :rtype: ``dict``
        
st2common/st2common/runners/base.py